[Lldb-commits] [lldb] 2d1a0df - lldb-vscode: Add a forgotten cast to void

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 30 06:27:14 PDT 2019


Author: Pavel Labath
Date: 2019-10-30T14:27:55+01:00
New Revision: 2d1a0dfe4c7c470ad8792eaba669115dfe8eff06

URL: https://github.com/llvm/llvm-project/commit/2d1a0dfe4c7c470ad8792eaba669115dfe8eff06
DIFF: https://github.com/llvm/llvm-project/commit/2d1a0dfe4c7c470ad8792eaba669115dfe8eff06.diff

LOG: lldb-vscode: Add a forgotten cast to void

"git push" works even with a dirty working tree. :/

Added: 
    

Modified: 
    lldb/tools/lldb-vscode/VSCode.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/tools/lldb-vscode/VSCode.cpp b/lldb/tools/lldb-vscode/VSCode.cpp
index 74c3088f4c78..2f85627da4b5 100644
--- a/lldb/tools/lldb-vscode/VSCode.cpp
+++ b/lldb/tools/lldb-vscode/VSCode.cpp
@@ -47,6 +47,7 @@ VSCode::VSCode()
   int result = _setmode(fileno(stdout), _O_BINARY);
   assert(result);
   result = _setmode(fileno(stdin), _O_BINARY);
+  (void)result;
   assert(result);
 #endif
   if (log_file_path)


        


More information about the lldb-commits mailing list