forked from OSchip/llvm-project
Return null pointer instead of 'false' (fixes clang warning).
llvm-svn: 106755
This commit is contained in:
parent
b377e2828d
commit
87f475a329
|
@ -267,7 +267,7 @@ const GRState *StreamChecker::CheckNullStream(SVal SV, const GRState *state,
|
||||||
CheckerContext &C) {
|
CheckerContext &C) {
|
||||||
const DefinedSVal *DV = dyn_cast<DefinedSVal>(&SV);
|
const DefinedSVal *DV = dyn_cast<DefinedSVal>(&SV);
|
||||||
if (!DV)
|
if (!DV)
|
||||||
return false;
|
return 0;
|
||||||
|
|
||||||
ConstraintManager &CM = C.getConstraintManager();
|
ConstraintManager &CM = C.getConstraintManager();
|
||||||
const GRState *stateNotNull, *stateNull;
|
const GRState *stateNotNull, *stateNull;
|
||||||
|
|
Loading…
Reference in New Issue