I'm using cppcheck with --library=./rules.cfg to prevent warnings (like uninitialized variable) on a function that never return. It was working fine before 1.81 and now it's failing with "(error) Uninitialized variable: x" when encountering that function.
Hi,
I'm using cppcheck with --library=./rules.cfg to prevent warnings (like uninitialized variable) on a function that never return. It was working fine before 1.81 and now it's failing with "(error) Uninitialized variable: x" when encountering that function.
Here is my rules.cfg
<def format="2">
</def>
<function name="AssertFatal">
<noreturn>true</noreturn>
</function>
Robert
Doesn't AssertFatal take any arguments? The number of arguments must match otherwise Cppcheck will assume it is an mismatching configuration.