From 7283152d58c4d3e01eef53cc8e19148dee28e226 Mon Sep 17 00:00:00 2001 From: PKEuS Date: Thu, 28 Feb 2013 12:51:48 -0800 Subject: [PATCH] Fixed MSVC warning - removed unused variable/function declaration. --- lib/checkother.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/checkother.cpp b/lib/checkother.cpp index 015607f79..1ca08e176 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -55,7 +55,6 @@ void CheckOther::checkCastIntToCharAndBack() const Scope * scope = symbolDatabase->functionScopes[i]; unsigned int uiVarId = 0; std::string strFunctionName; - const std::string strFunctionsToSearch(); 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 (tok->varId()) {