cppcheck/testif5/testif5.cpp

9 lines
107 B
C++

void f()
{
if ( strcmp(str, "abc") == 0 )
abc = true;
else
abc = false;
}