Remove duplicate check

This commit is contained in:
Dmitry-Me 2015-03-24 15:58:03 +03:00
parent ab97d8dd6f
commit c9cdba5865
1 changed files with 1 additions and 1 deletions

View File

@ -950,7 +950,7 @@ void CheckBufferOverrun::checkScope(const Token *tok, const ArrayInfo &arrayInfo
}
// Detect few strcat() calls
if (total_size > 0 && Token::Match(tok, "strcat ( %varid% , %str% ) ;", declarationId)) {
if (total_size > 0) {
std::size_t charactersAppend = 0;
const Token *tok2 = tok;