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 | c0145fd0bfdcd7c920b00e49f475caba0515fb26 (patch) | |
| tree | c165ef21bf5660d0d7fbac4105d82832cb3b6d18 | |
| parent | 25662f3e4a2eeb8f2a3dff15935e7f15f8a08637 (diff) | |
| download | bcm5719-llvm-c0145fd0bfdcd7c920b00e49f475caba0515fb26.tar.gz bcm5719-llvm-c0145fd0bfdcd7c920b00e49f475caba0515fb26.zip | |
Fix warning about RegionStoreManager::Retrieve() not always returning a value.
llvm-svn: 59571
| -rw-r--r-- | clang/lib/Analysis/RegionStore.cpp | 2 |
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; } } |

