Skip to content

Commit

Permalink
Remove unused variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
herve-er committed Dec 12, 2024
1 parent 1e9a8c0 commit c12d432
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/libcommon/utility/sourcelocation.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@

#pragma once

#if defined(_WIN32) || defined(__APPLE__)
#if defined(_WIN32)
// || defined(__APPLE__) still buggy on macOS
// https://www.reddit.com/r/cpp/comments/1b1pjii/comment/ksg8efc/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
#define SRC_LOC_AVALAIBALE
#endif

Expand Down
1 change: 0 additions & 1 deletion src/libsyncengine/syncpal/syncpalworker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ SyncPalWorker::SyncPalWorker(std::shared_ptr<SyncPal> syncPal, const std::string
void SyncPalWorker::execute() {
ExitCode exitCode(ExitCode::Unknown);
sentry::pTraces::scoped::SyncInit perfMonitor(syncDbId());
int id = syncDbId();
LOG_SYNCPAL_INFO(_logger, "Worker " << name().c_str() << " started");
if (_syncPal->vfsMode() != VirtualFileMode::Off) {
sentry::pTraces::scoped::ResetStatus perfMonitor1(syncDbId());
Expand Down
1 change: 0 additions & 1 deletion src/libsyncengine/syncpal/virtualfilescleaner.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ class VirtualFilesCleaner {
log4cplus::Logger _logger;

SyncPath _rootPath;
int _syncDbId{-1};
std::shared_ptr<SyncDb> _syncDb = nullptr;
std::shared_ptr<Vfs> _vfs;

Expand Down

0 comments on commit c12d432

Please sign in to comment.