Skip to content

Commit

Permalink
Use readable variable names.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila Ayres <hello@camilasan.com>
  • Loading branch information
camilasan committed Jun 4, 2024
1 parent 218bbb3 commit 064ccf4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cmd/cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,6 @@ int main(int argc, char **argv)
SyncOptions syncOptions;

Check warning on line 532 in src/cmd/cmd.cpp

View workflow job for this annotation

GitHub Actions / build

src/cmd/cmd.cpp:532:17 [cppcoreguidelines-init-variables]

variable 'syncOptions' is not initialized
syncOptions.fillFromEnvironmentVariables();
syncOptions.verifyChunkSizes();
syncOptions.setInteractive(options.interactive);
SyncEngine engine(account, options.source_dir, syncOptions, folder, &db);

Check warning on line 535 in src/cmd/cmd.cpp

View workflow job for this annotation

GitHub Actions / build

src/cmd/cmd.cpp:535:16 [cppcoreguidelines-init-variables]

variable 'engine' is not initialized
engine.setIgnoreHiddenFiles(options.ignoreHiddenFiles);
engine.setNetworkLimits(options.uplimit, options.downlimit);
Expand Down

0 comments on commit 064ccf4

Please sign in to comment.