From 1d76b115a37e55f5bf294e8f6d66732199b83c79 Mon Sep 17 00:00:00 2001 From: Shankar Easwaran Date: Thu, 22 Aug 2013 05:44:08 +0000 Subject: [PATCH] [lld][test] fix -Wreturn-type error llvm-svn: 188988 --- lld/unittests/DriverTests/DriverTest.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lld/unittests/DriverTests/DriverTest.h b/lld/unittests/DriverTests/DriverTest.h index 0ad1918..3da0db3 100644 --- a/lld/unittests/DriverTests/DriverTest.h +++ b/lld/unittests/DriverTests/DriverTest.h @@ -38,6 +38,7 @@ protected: if (inputElement.kind() == InputElement::Kind::File) return (llvm::dyn_cast(&inputElement))->path(*linkingContext()); assert(0 && "not handling other types of input files"); + return ""; } // For unit tests to call driver with various command lines. -- 2.7.4