From 2eb46d74d257cec738558922561290a978e8b1fc Mon Sep 17 00:00:00 2001 From: Sjoerd Meijer Date: Mon, 16 Sep 2019 10:30:37 +0000 Subject: [PATCH] Added return statement to fix compile and build warning: MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.40.0