From 08140f99e507cfd593146bdf2efb01b24da822fa Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Thu, 2 Sep 2010 00:34:30 +0000 Subject: [PATCH] Fixed unused variable warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@112784 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Checker/RegionStore.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Checker/RegionStore.cpp b/lib/Checker/RegionStore.cpp index a2019d7a3c..1a3eded7cb 100644 --- a/lib/Checker/RegionStore.cpp +++ b/lib/Checker/RegionStore.cpp @@ -1089,7 +1089,7 @@ SVal RegionStoreManager::RetrieveElement(Store store, } // Check for loads from a code text region. For such loads, just give up. - if (const CodeTextRegion *cR = dyn_cast(superR)) + if (isa(superR)) return UnknownVal(); // Handle the case where we are indexing into a larger scalar object. -- 2.50.1