[llvm-commits] CVS: llvm/lib/Analysis/IPA/Andersens.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu May 27 16:00:03 PDT 2004
Changes in directory llvm/lib/Analysis/IPA:
Andersens.cpp updated: 1.1 -> 1.2
---
Log message:
Fix warnings about reaching end of non-void function
---
Diffs of the changes: (+2 -0)
Index: llvm/lib/Analysis/IPA/Andersens.cpp
diff -u llvm/lib/Analysis/IPA/Andersens.cpp:1.1 llvm/lib/Analysis/IPA/Andersens.cpp:1.2
--- llvm/lib/Analysis/IPA/Andersens.cpp:1.1 Sun May 23 16:00:47 2004
+++ llvm/lib/Analysis/IPA/Andersens.cpp Thu May 27 15:57:01 2004
@@ -491,6 +491,7 @@
} else {
assert(0 && "Unknown constant pointer!");
}
+ return 0;
}
/// getNodeForConstantPointerTarget - Return the node POINTED TO by the
@@ -518,6 +519,7 @@
} else {
assert(0 && "Unknown constant pointer!");
}
+ return 0;
}
/// AddGlobalInitializerConstraints - Add inclusion constraints for the memory
More information about the llvm-commits
mailing list