From: Ted Kremenek Date: Tue, 3 Mar 2009 18:15:30 +0000 (+0000) Subject: Fix extra ';' bug noticed by Mike Stump. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6076e0a65183e52dd118e34f62bc2adc056a54e1;p=clang Fix extra ';' bug noticed by Mike Stump. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65954 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(R)) - if (!scan(SR->getSuperRegion())); + if (!scan(SR->getSuperRegion())) return false; // Now look at the binding to this region (if any).