summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CWriter/Writer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CWriter/Writer.cpp b/llvm/lib/CWriter/Writer.cpp
index 81c10b7ebee..dd88653449c 100644
--- a/llvm/lib/CWriter/Writer.cpp
+++ b/llvm/lib/CWriter/Writer.cpp
@@ -114,6 +114,7 @@ static std::string getConstStrValue(const Constant* CPV) {
default:
std::cerr << "Unknown constant type: " << CPV << "\n";
abort();
+ return "";
}
}
OpenPOWER on IntegriCloud