Avoid warning message
authorChris Lattner <sabre@nondot.org>
Thu, 25 Jul 2002 16:30:45 +0000 (16:30 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 25 Jul 2002 16:30:45 +0000 (16:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3085 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/CBackend/CBackend.cpp
lib/Target/CBackend/Writer.cpp

index 81c10b7ebee536fac91f12ae15f1c01387b0cc5f..dd88653449cb3c17d30ee0efe144c8dfdaec877b 100644 (file)
@@ -114,6 +114,7 @@ static std::string getConstStrValue(const Constant* CPV) {
   default:
     std::cerr << "Unknown constant type: " << CPV << "\n";
     abort();
+    return "";
   }
 }
 
index 81c10b7ebee536fac91f12ae15f1c01387b0cc5f..dd88653449cb3c17d30ee0efe144c8dfdaec877b 100644 (file)
@@ -114,6 +114,7 @@ static std::string getConstStrValue(const Constant* CPV) {
   default:
     std::cerr << "Unknown constant type: " << CPV << "\n";
     abort();
+    return "";
   }
 }