forked from OSchip/llvm-project
Fix a bad assert. Found by coverity. CID 1101110
llvm-svn: 235188
This commit is contained in:
parent
1620a334ba
commit
91ba4b1af6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue