You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~/git/github/osquery (branch:master) » cppcheck -j 4 --error-exitcode=1 --enable=performance,warning -I ./include -q ./osquery
[osquery/filesystem/filesystem.cpp:82]: (performance) Variable 'dropper_' is assigned in constructor body. Consider performing initialization in initialization list.
[osquery/filesystem/windows/fileops.cpp:553] -> [osquery/filesystem/windows/fileops.cpp:559]: (performance) Variable 'ret' is reassigned a value before the old one has been used.
[osquery/filesystem/windows/fileops.cpp:1132] -> [osquery/filesystem/windows/fileops.cpp:1133]: (performance) Variable 'handle' is reassigned a value before the old one has been used.
[osquery/logger/plugins/tls.cpp:51]: (performance) Variable 'uri_' is assigned in constructor body. Consider performing initialization in initialization list.
[osquery/remote/transports/tls.cpp:166]: (performance) Inefficient usage of string::find() in condition; string::compare() would be faster.
[osquery/tables/system/darwin/crashes.cpp:81] -> [osquery/tables/system/darwin/crashes.cpp:70]: (warning) Missing bounds check for extra iterator increment in loop.
[osquery/tables/system/darwin/smc_keys.cpp:648] -> [osquery/tables/system/darwin/smc_keys.cpp:651]: (performance) Variable 'category' is reassigned a value before the old one has been used.
[osquery/tables/system/darwin/smc_keys.cpp:651] -> [osquery/tables/system/darwin/smc_keys.cpp:654]: (performance) Variable 'category' is reassigned a value before the old one has been used.
[osquery/tables/system/windows/system_util.cpp:95] -> [osquery/tables/system/windows/system_util.cpp:97]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[osquery/tables/system/windows/system_util.cpp:97] -> [osquery/tables/system/windows/system_util.cpp:98]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
[osquery/tables/system/windows/system_util.cpp:98] -> [osquery/tables/system/windows/system_util.cpp:101]: (performance) Variable 'hr' is reassigned a value before the old one has been used.
The only WARNING: osquery/tables/system/darwin/crashes.cpp:81.
The text was updated successfully, but these errors were encountered:
See:
The only WARNING:
osquery/tables/system/darwin/crashes.cpp:81
.The text was updated successfully, but these errors were encountered: