aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Analysis/RegionStore.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp
index 93b55255d5..66aabcb49e 100644
--- a/lib/Analysis/RegionStore.cpp
+++ b/lib/Analysis/RegionStore.cpp
@@ -481,9 +481,7 @@ SVal RegionStoreManager::getSizeInElements(const GRState* St,
return UnknownVal();
}
- if (const SymbolicRegion* SR = dyn_cast<SymbolicRegion>(R)) {
- // FIXME: Unsupported yet.
- SR = 0;
+ if (isa<SymbolicRegion>(R)) {
return UnknownVal();
}