]> granicus.if.org Git - clang/commitdiff
I have a dream, one day, we won't need to do this.
authorMike Stump <mrs@apple.com>
Thu, 6 Aug 2009 12:56:50 +0000 (12:56 +0000)
committerMike Stump <mrs@apple.com>
Thu, 6 Aug 2009 12:56:50 +0000 (12:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78305 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/RegionStore.cpp

index 817c6ecfe57e7ca0693d7122455e22fc96d81207..321675604519b32d1a7b0e5daf0f4062c5ba53b9 100644 (file)
@@ -1230,6 +1230,7 @@ SVal RegionStoreManager::RetrieveStruct(const GRState *state,
   const RecordType* RT = T->getAsStructureType();
   RecordDecl* RD = RT->getDecl();
   assert(RD->isDefinition());
+  (void)RD;
 #if USE_EXPLICIT_COMPOUND
   llvm::ImmutableList<SVal> StructVal = getBasicVals().getEmptySValList();