diff options
author | Chris Lattner <sabre@nondot.org> | 2004-05-27 20:57:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-05-27 20:57:01 +0000 |
commit | 1fc37395607e374be50d09a89b63b2b318e653bf (patch) | |
tree | 17d39fbd842540817dc0deb0bfc325f19de65b19 /lib/Analysis | |
parent | 0a576b00b693ccc6a1ef61f42abdef9d5e757018 (diff) | |
download | external_llvm-1fc37395607e374be50d09a89b63b2b318e653bf.zip external_llvm-1fc37395607e374be50d09a89b63b2b318e653bf.tar.gz external_llvm-1fc37395607e374be50d09a89b63b2b318e653bf.tar.bz2 |
Fix warnings about reaching end of non-void function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13852 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r-- | lib/Analysis/IPA/Andersens.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/IPA/Andersens.cpp b/lib/Analysis/IPA/Andersens.cpp index 6af1f61..371a8a0 100644 --- a/lib/Analysis/IPA/Andersens.cpp +++ b/lib/Analysis/IPA/Andersens.cpp @@ -491,6 +491,7 @@ Andersens::Node *Andersens::getNodeForConstantPointer(Constant *C) { } else { assert(0 && "Unknown constant pointer!"); } + return 0; } /// getNodeForConstantPointerTarget - Return the node POINTED TO by the @@ -518,6 +519,7 @@ Andersens::Node *Andersens::getNodeForConstantPointerTarget(Constant *C) { } else { assert(0 && "Unknown constant pointer!"); } + return 0; } /// AddGlobalInitializerConstraints - Add inclusion constraints for the memory |