Author: Pavel Labath Date: 2020-12-27T13:58:05+01:00 New Revision: aca4488847b4ddceeda8d4ddb2cd9cb3defbab0c
URL: https://github.com/llvm/llvm-project/commit/aca4488847b4ddceeda8d4ddb2cd9cb3defbab0c DIFF: https://github.com/llvm/llvm-project/commit/aca4488847b4ddceeda8d4ddb2cd9cb3defbab0c.diff LOG: [lldb] Surpress "ingoring result" warning in reproducer_handler Added: Modified: lldb/tools/driver/Driver.cpp Removed: ################################################################################ diff --git a/lldb/tools/driver/Driver.cpp b/lldb/tools/driver/Driver.cpp index 870f763436a4..e4a60127b65e 100644 --- a/lldb/tools/driver/Driver.cpp +++ b/lldb/tools/driver/Driver.cpp @@ -732,7 +732,8 @@ void sigcont_handler(int signo) { void reproducer_handler(void *finalize_cmd) { if (SBReproducer::Generate()) { - std::system(static_cast<const char *>(finalize_cmd)); + int result = std::system(static_cast<const char *>(finalize_cmd)); + (void)result; fflush(stdout); } } _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits