Skip to content

Commit 7dde7e4

Browse files
Update testother.cpp
1 parent c1fc2d8 commit 7dde7e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/testother.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1946,7 +1946,7 @@ class TestOther : public TestFixture {
19461946
ASSERT_EQUALS("[test.cpp:3:12]: (style) The scope of the variable 'x' can be reduced. [variableScope]\n", errout_str());
19471947
}
19481948

1949-
varScope45() {
1949+
void varScope45() {
19501950
check("void g(int x, int y) {\n" // #14497
19511951
" int a = x, b = y;\n"
19521952
" if (a) {}\n"

0 commit comments

Comments
 (0)