Remove dead code - %llf specifier doesn't exist

This commit is contained in:
Dmitry-Me 2017-11-07 22:57:44 +03:00
parent 06fd390b3f
commit 4c186d2455
1 changed files with 1 additions and 4 deletions

View File

@ -966,10 +966,7 @@ void CheckIO::checkFormatString(const Token * const tok,
} else {
switch (specifier[0]) {
case 'l':
if (specifier[1] == 'l') {
if (argInfo.typeToken->str() != "double" || !argInfo.typeToken->isLong())
invalidScanfArgTypeError_float(tok, numFormat, specifier, &argInfo);
} else if (argInfo.typeToken->str() != "double" || argInfo.typeToken->isLong())
if (argInfo.typeToken->str() != "double" || argInfo.typeToken->isLong())
invalidScanfArgTypeError_float(tok, numFormat, specifier, &argInfo);
break;
case 'L':