aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-09 20:43:55 +0000
committerChris Lattner <sabre@nondot.org>2003-10-09 20:43:55 +0000
commit342be126ef5355143e75471bf42c64ac6d939808 (patch)
treea75912790530f2a793964e94462f5adcf602a1fa
parentc9456ca64c102516744deb4ba9b0790aea6b5c0a (diff)
Kill warning when compiling in optimized mode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8989 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Type.h b/include/llvm/Type.h
index 3ed2d2dd7a..f8202ae40c 100644
--- a/include/llvm/Type.h
+++ b/include/llvm/Type.h
@@ -206,6 +206,7 @@ public:
///
virtual const Type *getContainedType(unsigned i) const {
assert(0 && "No contained types!");
+ return 0;
}
/// getNumContainedTypes - Return the number of types in the derived type