diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-11-19 00:27:37 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-11-19 00:27:37 +0000 |
commit | ab7b32b7d4781859583c0329988c4e2ce42fc564 (patch) | |
tree | 9bedd770eb93846593491d13a15ef0668fa3c06e /lib/Analysis/RegionStore.cpp | |
parent | 96176b3575823ea996c6140380dd17d9240c9766 (diff) |
Fix warning about RegionStoreManager::Retrieve() not always returning a value.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59571 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/RegionStore.cpp')
-rw-r--r-- | lib/Analysis/RegionStore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/RegionStore.cpp b/lib/Analysis/RegionStore.cpp index 6eba8bbd61..183120842f 100644 --- a/lib/Analysis/RegionStore.cpp +++ b/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; } } |