Fixed MSVC warning - removed unused variable/function declaration.
This commit is contained in:
parent
670c4de8a9
commit
7283152d58
|
@ -55,7 +55,6 @@ void CheckOther::checkCastIntToCharAndBack()
|
||||||
const Scope * scope = symbolDatabase->functionScopes[i];
|
const Scope * scope = symbolDatabase->functionScopes[i];
|
||||||
unsigned int uiVarId = 0;
|
unsigned int uiVarId = 0;
|
||||||
std::string strFunctionName;
|
std::string strFunctionName;
|
||||||
const std::string strFunctionsToSearch();
|
|
||||||
for (const Token* tok = scope->classStart->next(); tok != scope->classEnd; tok = tok->next()) {
|
for (const Token* tok = scope->classStart->next(); tok != scope->classEnd; tok = tok->next()) {
|
||||||
if (Token::Match(tok, "%var% = fclose|fflush|fputc|fputs|fscanf|getchar|getc|fgetc|putchar|putc|puts|scanf|sscanf|ungetc (")) {
|
if (Token::Match(tok, "%var% = fclose|fflush|fputc|fputs|fscanf|getchar|getc|fgetc|putchar|putc|puts|scanf|sscanf|ungetc (")) {
|
||||||
if (tok->varId()) {
|
if (tok->varId()) {
|
||||||
|
|
Loading…
Reference in New Issue