Revert "Resolve CID 1357639"
This reverts commit e3b0c3a974
.
It's not a proper fix. I want that Cppcheck detects this bug also. I want to keep the CID open until Cppcheck can detect it.
This commit is contained in:
parent
e3b0c3a974
commit
f50f024873
|
@ -3507,7 +3507,7 @@ private:
|
|||
for (tok = tokenizer.list.back(); tok; tok = tok->previous())
|
||||
if (Token::simpleMatch(tok, pattern))
|
||||
break;
|
||||
return (tok && tok->valueType()) ? tok->valueType()->str() : std::string();
|
||||
return tok->valueType() ? tok->valueType()->str() : std::string();
|
||||
}
|
||||
|
||||
void valuetype() {
|
||||
|
|
Loading…
Reference in New Issue