From: Ted Kremenek Date: Wed, 19 Nov 2008 00:27:37 +0000 (+0000) Subject: Fix warning about RegionStoreManager::Retrieve() not always returning a value. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ab7b32b7d4781859583c0329988c4e2ce42fc564;p=clang 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 --- 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; } }