diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-05-05 00:06:16 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-05-05 00:06:16 +0000 |
commit | 921b0b5ef3d010f6c66abf6835ef60d7dcc9690b (patch) | |
tree | 350853fe9b9c7a25cf53d3e752c8b38eeafcb5c5 /lib/Analysis/BasicStore.cpp | |
parent | 0ac5618eab1c706ef16f10b9ecdfa03d7fe341d9 (diff) |
Fix unused variable warning
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70946 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicStore.cpp')
-rw-r--r-- | lib/Analysis/BasicStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/BasicStore.cpp b/lib/Analysis/BasicStore.cpp index cf70733d43..598191f578 100644 --- a/lib/Analysis/BasicStore.cpp +++ b/lib/Analysis/BasicStore.cpp @@ -212,7 +212,7 @@ SVal BasicStoreManager::getLValueElement(const GRState* St, 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')) |