Fix a bad assert. Found by coverity. CID 1101110

llvm-svn: 235188
This commit is contained in:
Sylvestre Ledru 2015-04-17 13:08:54 +00:00
parent 1620a334ba
commit 91ba4b1af6
1 changed files with 1 additions and 1 deletions

View File

@ -1924,7 +1924,7 @@ bool CStringChecker::evalCall(const CallExpr *CE, CheckerContext &C) const {
// Make sure each function sets its own description.
// (But don't bother in a release build.)
assert(!(CurrentFunctionDescription = nullptr));
assert(!(CurrentFunctionDescription == nullptr));
// Check and evaluate the call.
(this->*evalFunction)(C, CE);