[cfe-commits] r70948 - /cfe/branches/Apple/Dib/lib/Analysis/BasicStore.cpp
Mike Stump
mrs at apple.com
Mon May 4 17:17:16 PDT 2009
Author: mrs
Date: Mon May 4 19:17:16 2009
New Revision: 70948
URL: http://llvm.org/viewvc/llvm-project?rev=70948&view=rev
Log:
Merge in 70946:
Fix unused variable warning
Modified:
cfe/branches/Apple/Dib/lib/Analysis/BasicStore.cpp
Modified: cfe/branches/Apple/Dib/lib/Analysis/BasicStore.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/Dib/lib/Analysis/BasicStore.cpp?rev=70948&r1=70947&r2=70948&view=diff
==============================================================================
--- cfe/branches/Apple/Dib/lib/Analysis/BasicStore.cpp (original)
+++ cfe/branches/Apple/Dib/lib/Analysis/BasicStore.cpp Mon May 4 19:17:16 2009
@@ -212,7 +212,7 @@
case loc::MemRegionKind: {
const MemRegion *R = cast<loc::MemRegionVal>(BaseL).getRegion();
- if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) {
+ if (isa<ElementRegion>(R)) {
// int x;
// char* y = (char*) &x;
// 'y' => ElementRegion(0, VarRegion('x'))
More information about the cfe-commits
mailing list