diff options
-rw-r--r-- | lib/Analysis/GRState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/GRState.cpp b/lib/Analysis/GRState.cpp index 794871cb1a..28e819085a 100644 --- a/lib/Analysis/GRState.cpp +++ b/lib/Analysis/GRState.cpp @@ -269,7 +269,7 @@ bool ScanReachableSymbols::scan(const MemRegion *R) { // If this is a subregion, also visit the parent regions. if (const SubRegion *SR = dyn_cast<SubRegion>(R)) - if (!scan(SR->getSuperRegion())); + if (!scan(SR->getSuperRegion())) return false; // Now look at the binding to this region (if any). |