diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-08-21 06:51:45 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-08-21 06:51:45 +0000 |
commit | cdadf8d9b2c6fc84654235b42055701bc4d946e0 (patch) | |
tree | e0f1e4e2f189d567a8487e0da878236cab9285e2 /clang/lib/Checker/RegionStore.cpp | |
parent | adc3ac70121f2aa7831b8a1714bdd69f7475955d (diff) | |
download | bcm5719-llvm-cdadf8d9b2c6fc84654235b42055701bc4d946e0.tar.gz bcm5719-llvm-cdadf8d9b2c6fc84654235b42055701bc4d946e0.zip |
remove unused variable.
llvm-svn: 111731
Diffstat (limited to 'clang/lib/Checker/RegionStore.cpp')
-rw-r--r-- | clang/lib/Checker/RegionStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Checker/RegionStore.cpp b/clang/lib/Checker/RegionStore.cpp index c8c392bfaf2..d93d364eec3 100644 --- a/clang/lib/Checker/RegionStore.cpp +++ b/clang/lib/Checker/RegionStore.cpp @@ -666,7 +666,7 @@ void InvalidateRegionsWorker::VisitBaseRegion(const MemRegion *baseR) { QualType T = TR->getValueType(); // Invalidate the binding. - if (const RecordType *RT = T->getAsStructureType()) { + if (T->isStructureType()) { // Invalidate the region by setting its default value to // conjured symbol. The type of the symbol is irrelavant. DefinedOrUnknownSVal V = ValMgr.getConjuredSymbolVal(baseR, Ex, Ctx.IntTy, |