[cfe-commits] r112784 - /cfe/trunk/lib/Checker/RegionStore.cpp
Ted Kremenek
kremenek at apple.com
Wed Sep 1 17:34:30 PDT 2010
Author: kremenek
Date: Wed Sep 1 19:34:30 2010
New Revision: 112784
URL: http://llvm.org/viewvc/llvm-project?rev=112784&view=rev
Log:
Fixed unused variable warning.
Modified:
cfe/trunk/lib/Checker/RegionStore.cpp
Modified: cfe/trunk/lib/Checker/RegionStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/RegionStore.cpp?rev=112784&r1=112783&r2=112784&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/RegionStore.cpp (original)
+++ cfe/trunk/lib/Checker/RegionStore.cpp Wed Sep 1 19:34:30 2010
@@ -1089,7 +1089,7 @@
}
// Check for loads from a code text region. For such loads, just give up.
- if (const CodeTextRegion *cR = dyn_cast<CodeTextRegion>(superR))
+ if (isa<CodeTextRegion>(superR))
return UnknownVal();
// Handle the case where we are indexing into a larger scalar object.
More information about the cfe-commits
mailing list