[lld][test] fix -Wreturn-type error
authorShankar Easwaran <shankare@codeaurora.org>
Thu, 22 Aug 2013 05:44:08 +0000 (05:44 +0000)
committerShankar Easwaran <shankare@codeaurora.org>
Thu, 22 Aug 2013 05:44:08 +0000 (05:44 +0000)
llvm-svn: 188988

lld/unittests/DriverTests/DriverTest.h

index 0ad1918..3da0db3 100644 (file)
@@ -38,6 +38,7 @@ protected:
     if (inputElement.kind() == InputElement::Kind::File)
       return (llvm::dyn_cast<FileNode>(&inputElement))->path(*linkingContext());
     assert(0 && "not handling other types of input files");
+    return "";
   }
 
   // For unit tests to call driver with various command lines.