summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/RegionStore.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-11-19 00:27:37 +0000
committerTed Kremenek <kremenek@apple.com>2008-11-19 00:27:37 +0000
commitc0145fd0bfdcd7c920b00e49f475caba0515fb26 (patch)
treec165ef21bf5660d0d7fbac4105d82832cb3b6d18 /clang/lib/Analysis/RegionStore.cpp
parent25662f3e4a2eeb8f2a3dff15935e7f15f8a08637 (diff)
downloadbcm5719-llvm-c0145fd0bfdcd7c920b00e49f475caba0515fb26.tar.gz
bcm5719-llvm-c0145fd0bfdcd7c920b00e49f475caba0515fb26.zip
Fix warning about RegionStoreManager::Retrieve() not always returning a value.
llvm-svn: 59571
Diffstat (limited to 'clang/lib/Analysis/RegionStore.cpp')
-rw-r--r--clang/lib/Analysis/RegionStore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Analysis/RegionStore.cpp b/clang/lib/Analysis/RegionStore.cpp
index 6eba8bbd61a..183120842f4 100644
--- a/clang/lib/Analysis/RegionStore.cpp
+++ b/clang/lib/Analysis/RegionStore.cpp
@@ -315,7 +315,7 @@ SVal RegionStoreManager::Retrieve(Store S, Loc L, QualType T) {
default:
assert(false && "Invalid Location");
- break;
+ return L;
}
}
OpenPOWER on IntegriCloud