Repository navigation
Partial fix for #13330 FN knownConditionTrueFalse with comma operator - #8965
chrchr-github wants to merge 5 commits into
Conversation
|
Test results for commit 2f62d59 (tools/test-my-pr.py, main compared to this PR): Test: http://ec2-16-170-140-253.eu-north-1.compute.amazonaws.com/pr-8965/ Posted automatically by the cppcheck PR test runner. +N: warnings only with this PR, -N: warnings only with main. The AI review is written by Claude and can be wrong. |
|
The regressions stem from a single package, which uses this macro: #define ERROR_EXIT(err) \
do \
{ \
errcode = err; \
if (/*CONSTCOND*/(void)1,1) \
goto error_exit; \
} \
while (/*CONSTCOND*/(void)0,0)I see no reason for that void cast/comma operator. A code search shows many instances of |
No description provided.