Kill warning when compiling in optimized mode
[oota-llvm.git] / include / llvm / Type.h
index 3ed2d2dd7abb611e22bd954c6b0bc8eac2f2fa3b..f8202ae40c66c61f229663ebdef9af845d64f5b8 100644 (file)
@@ -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