[llvm] r371972 - Added return statement to fix compile and build warning:
Sjoerd Meijer via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 16 03:30:37 PDT 2019
Author: sjoerdmeijer
Date: Mon Sep 16 03:30:37 2019
New Revision: 371972
URL: http://llvm.org/viewvc/llvm-project?rev=371972&view=rev
Log:
Added return statement to fix compile and build warning:
llvm-rtdyld.cpp:966:7: warning: variable ‘Result’ set but not used
Modified:
llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp
Modified: llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp?rev=371972&r1=371971&r2=371972&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp (original)
+++ llvm/trunk/tools/llvm-rtdyld/llvm-rtdyld.cpp Mon Sep 16 03:30:37 2019
@@ -984,4 +984,5 @@ int main(int argc, char **argv) {
Result = linkAndVerify();
break;
}
+ return Result;
}
More information about the llvm-commits
mailing list