summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-10-30 14:27:26 +0100
committerPavel Labath <pavel@labath.sk>2019-10-30 14:27:55 +0100
commit2d1a0dfe4c7c470ad8792eaba669115dfe8eff06 (patch)
tree64ed4f19d4c3de25c43a49f01d07d2d761e7e3b7
parent2dbcfad35de6a1c86e794d911304ed50257d6d87 (diff)
downloadbcm5719-llvm-2d1a0dfe4c7c470ad8792eaba669115dfe8eff06.tar.gz
bcm5719-llvm-2d1a0dfe4c7c470ad8792eaba669115dfe8eff06.zip
lldb-vscode: Add a forgotten cast to void
"git push" works even with a dirty working tree. :/
-rw-r--r--lldb/tools/lldb-vscode/VSCode.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/tools/lldb-vscode/VSCode.cpp b/lldb/tools/lldb-vscode/VSCode.cpp
index 74c3088f4c7..2f85627da4b 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)
OpenPOWER on IntegriCloud