Skip to content
Snippets Groups Projects
Commit 0299e911 authored by Adam Edward Barton's avatar Adam Edward Barton :speech_balloon:
Browse files

Merge branch 'cppcheck2.PerfMonTests-20220121' into 'master'

PerfMonTests: Fix cppcheck 2.6 warnings.

See merge request atlas/athena!49850
parents 6c69784b 0d9fc120
No related merge requests found
......@@ -78,6 +78,7 @@ bool ErroneousAlg::jumpOnUninitializedValue()
unsigned int yesNo[] = { 0, 0};
for ( unsigned int i=0; i<64*maximum; ++i )
// cppcheck-suppress uninitvar; this is meant to be uninitialized
if ( this->shouldIJump(someConditions[i]) )
yesNo[0]++;
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment