From 2d1a0dfe4c7c470ad8792eaba669115dfe8eff06 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Wed, 30 Oct 2019 14:27:26 +0100 Subject: [PATCH] lldb-vscode: Add a forgotten cast to void "git push" works even with a dirty working tree. :/ --- lldb/tools/lldb-vscode/VSCode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/tools/lldb-vscode/VSCode.cpp b/lldb/tools/lldb-vscode/VSCode.cpp index 74c3088..2f85627 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) -- 2.7.4