From: Sjoerd Meijer Date: Mon, 16 Sep 2019 10:30:37 +0000 (+0000) Subject: Added return statement to fix compile and build warning: X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2eb46d74d257cec738558922561290a978e8b1fc;p=llvm Added return statement to fix compile and build warning: 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 --- diff --git a/tools/llvm-rtdyld/llvm-rtdyld.cpp b/tools/llvm-rtdyld/llvm-rtdyld.cpp index 09539c457a9..3a36e770948 100644 --- a/tools/llvm-rtdyld/llvm-rtdyld.cpp +++ b/tools/llvm-rtdyld/llvm-rtdyld.cpp @@ -984,4 +984,5 @@ int main(int argc, char **argv) { Result = linkAndVerify(); break; } + return Result; }