Return null pointer instead of 'false' (fixes clang warning).

llvm-svn: 106755
This commit is contained in:
Ted Kremenek 2010-06-24 16:26:12 +00:00
parent b377e2828d
commit 87f475a329
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ const GRState *StreamChecker::CheckNullStream(SVal SV, const GRState *state,
CheckerContext &C) {
const DefinedSVal *DV = dyn_cast<DefinedSVal>(&SV);
if (!DV)
return false;
return 0;
ConstraintManager &CM = C.getConstraintManager();
const GRState *stateNotNull, *stateNull;