Fix Cppcheck warning: unused variable in test
This commit is contained in:
parent
a11a0e79e4
commit
53e11ead8f
|
@ -510,8 +510,6 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
void inlinesuppress_symbolname() {
|
void inlinesuppress_symbolname() {
|
||||||
Suppressions suppressions;
|
|
||||||
|
|
||||||
checkSuppression("void f() {\n"
|
checkSuppression("void f() {\n"
|
||||||
" int a;\n"
|
" int a;\n"
|
||||||
" /* cppcheck-suppress uninitvar symbolName=a */\n"
|
" /* cppcheck-suppress uninitvar symbolName=a */\n"
|
||||||
|
|
Loading…
Reference in New Issue