Avoid some Visual Studio warnings
This commit is contained in:
parent
e5a04837c0
commit
2bced1d90c
|
@ -260,7 +260,7 @@ void CheckOther::checkEmptyStringTest()
|
||||||
void CheckOther::checkFflushOnInputStream()
|
void CheckOther::checkFflushOnInputStream()
|
||||||
{
|
{
|
||||||
const Token *tok = _tokenizer->tokens();
|
const Token *tok = _tokenizer->tokens();
|
||||||
while (tok && (tok = Token::findmatch(tok, "fflush ( stdin )")))
|
while (tok && ((tok = Token::findmatch(tok, "fflush ( stdin )")) != NULL))
|
||||||
{
|
{
|
||||||
fflushOnInputStreamError(tok, tok->strAt(2));
|
fflushOnInputStreamError(tok, tok->strAt(2));
|
||||||
tok = tok->tokAt(4);
|
tok = tok->tokAt(4);
|
||||||
|
|
|
@ -70,11 +70,13 @@ void ExecutionPath::print() const
|
||||||
<< "\n";
|
<< "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
static void printchecks(const std::list<ExecutionPath *> &checks)
|
static void printchecks(const std::list<ExecutionPath *> &checks)
|
||||||
{
|
{
|
||||||
for (std::list<ExecutionPath *>::const_iterator it = checks.begin(); it != checks.end(); ++it)
|
for (std::list<ExecutionPath *>::const_iterator it = checks.begin(); it != checks.end(); ++it)
|
||||||
(*it)->print();
|
(*it)->print();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
static void checkExecutionPaths_(const Token *tok, std::list<ExecutionPath *> &checks)
|
static void checkExecutionPaths_(const Token *tok, std::list<ExecutionPath *> &checks)
|
||||||
|
|
Loading…
Reference in New Issue