Skip to content

Commit 42547aa

Browse files
authored
REOPENED #12260 (false positive: unusedVariable with side effects in member initialization) (#5764)
1 parent 02fed7a commit 42547aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/testunusedvar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ class TestUnusedVar : public TestFixture {
471471
"int main() {\n"
472472
" A a;\n"
473473
"}");
474-
TODO_ASSERT_EQUALS("error", "", errout.str());
474+
ASSERT_EQUALS("", errout.str());
475475

476476
// side-effect variable
477477
functionVariableUsage(

0 commit comments

Comments
 (0)