You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ASSERT_EQUALS(0, cppCheck.check("test.c", code)); // <- no unsuppressed error is seen
1188
+
ASSERT_EQUALS(0, cppCheck.check("test.c", reinterpret_cast<constuint8_t*>(code), sizeof(code))); // <- no unsuppressed error is seen
1189
1189
ASSERT_EQUALS("[test.c:1]: (error) Uninitialized variable: a\n", errout_str()); // <- report error so ThreadExecutor can suppress it and make sure the global suppression is matched.
1190
1190
}
1191
1191
@@ -1225,7 +1225,7 @@ class TestSuppressions : public TestFixture {
0 commit comments