We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dff36ed commit 451b13fCopy full SHA for 451b13f
lldb/tools/lldb-dap/OutputRedirector.cpp
@@ -86,7 +86,7 @@ void OutputRedirector::Stop() {
86
// write descriptor is duplicated (to stdout/err or to another process).
87
// Write a null byte to ensure the read call returns.
88
char buf[] = "\0";
89
- ::write(fd, buf, sizeof(buf));
+ (void)::write(fd, buf, sizeof(buf));
90
::close(fd);
91
m_forwarder.join();
92
}
0 commit comments