]> granicus.if.org Git - llvm/commitdiff
Added return statement to fix compile and build warning:
authorSjoerd Meijer <sjoerd.meijer@arm.com>
Mon, 16 Sep 2019 10:30:37 +0000 (10:30 +0000)
committerSjoerd Meijer <sjoerd.meijer@arm.com>
Mon, 16 Sep 2019 10:30:37 +0000 (10:30 +0000)
llvm-rtdyld.cpp:966:7: warning: variable â€˜Result’ set but not used

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371972 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-rtdyld/llvm-rtdyld.cpp

index 09539c457a9a9411c37889d4918010ddba2f40ea..3a36e77094839b026b386451771462c955f9e5f3 100644 (file)
@@ -984,4 +984,5 @@ int main(int argc, char **argv) {
     Result = linkAndVerify();
     break;
   }
+  return Result;
 }