Skip to content

Commit 6e1acdc

Browse files
[lldb] Fix a warning
This patch fixes: lldb/source/Host/posix/MainLoopPosix.cpp:64:11: error: unused variable 'bytes_written' [-Werror,-Wunused-variable]
1 parent abda8ce commit 6e1acdc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/source/Host/posix/MainLoopPosix.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ static void SignalHandler(int signo, siginfo_t *info, void *) {
6565
// We can safely ignore EAGAIN (pipe full), as that means poll will definitely
6666
// return.
6767
assert(bytes_written == 1 || (bytes_written == -1 && errno == EAGAIN));
68+
(void)bytes_written;
6869
}
6970

7071
class MainLoopPosix::RunImpl {

0 commit comments

Comments
 (0)