We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71fdbf5 commit 07b6dbeCopy full SHA for 07b6dbe
1 file changed
test/testunusedvar.cpp
@@ -6599,7 +6599,7 @@ class TestUnusedVar : public TestFixture {
6599
ASSERT_EQUALS("[test.cpp:2:23]: (style) Variable 's' is assigned a value that is never used. [unreadVariable]\n", errout_str());
6600
6601
functionVariableUsage("void f() {\n" // #14201
6602
- " std::pair<T, U> p;
+ " std::pair<T, U> p;\n"
6603
"}\n");
6604
ASSERT_EQUALS("", errout_str());
6605
}
0 commit comments