Paul,

I see you're working hard on cleaning Clang static analyzer reported warnings. I introduced one reported problem in 77a1c01ccbb1150ffe749a7373cf6c4dc15ecad0
in core.c:411

iterate_protect_blocks = false;

is set and no more used. It is intentional guard if somebody touches the code and uses the flag in the following for cycle, he gets the correct value as expected
by flag name.

Should I use a #pragma to suppress the warning?
Or the usual
    (void)iterate_protect_blocks;
?

Tom


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to