Skip to content

Commit 1932ed0

Browse files
authored
[lldb-dap] Silence Wunused-result warning (#126580)
1 parent f451d27 commit 1932ed0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/tools/lldb-dap/OutputRedirector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void OutputRedirector::Stop() {
8686
// write descriptor is duplicated (to stdout/err or to another process).
8787
// Write a null byte to ensure the read call returns.
8888
char buf[] = "\0";
89-
::write(fd, buf, sizeof(buf));
89+
(void)::write(fd, buf, sizeof(buf));
9090
::close(fd);
9191
m_forwarder.join();
9292
}

0 commit comments

Comments
 (0)