Skip to content

Commit

Permalink
REOPENED #12260 (false positive: unusedVariable with side effects in …
Browse files Browse the repository at this point in the history
…member initialization) (#5764)
  • Loading branch information
olabetskyi committed Dec 15, 2023
1 parent 02fed7a commit 42547aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testunusedvar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ class TestUnusedVar : public TestFixture {
"int main() {\n"
" A a;\n"
"}");
TODO_ASSERT_EQUALS("error", "", errout.str());
ASSERT_EQUALS("", errout.str());

// side-effect variable
functionVariableUsage(
Expand Down

0 comments on commit 42547aa

Please sign in to comment.