CheckBufferOverrun::checkInsecureCmdLineArgs(): Remove recently unused variable 'pattern'.

This commit is contained in:
Edoardo Prezioso 2011-12-09 23:24:08 +01:00
parent 91a0a071d0
commit 51c1e2303f
1 changed files with 0 additions and 2 deletions

View File

@ -1746,8 +1746,6 @@ void CheckBufferOverrun::checkBufferAllocatedWithStrlen()
//---------------------------------------------------------------------------
void CheckBufferOverrun::checkInsecureCmdLineArgs()
{
const char pattern[] = "main ( int %var% , char *";
const SymbolDatabase* const symbolDatabase = _tokenizer->getSymbolDatabase();
for (std::list<Scope>::const_iterator i = symbolDatabase->scopeList.begin(); i != symbolDatabase->scopeList.end(); ++i) {