[cfe-commits] r111731 - /cfe/trunk/lib/Checker/RegionStore.cpp
Zhongxing Xu
xuzhongxing at gmail.com
Fri Aug 20 23:51:46 PDT 2010
Author: zhongxingxu
Date: Sat Aug 21 01:51:45 2010
New Revision: 111731
URL: http://llvm.org/viewvc/llvm-project?rev=111731&view=rev
Log:
remove unused variable.
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=111731&r1=111730&r2=111731&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/RegionStore.cpp (original)
+++ cfe/trunk/lib/Checker/RegionStore.cpp Sat Aug 21 01:51:45 2010
@@ -666,7 +666,7 @@
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,
More information about the cfe-commits
mailing list