Skip to content

Commit 21fd881

Browse files
Compositor: fix unused result in test code (#954)
1 parent edf39e4 commit 21fd881

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Compositor/lib/Mesa/renderer/test/TerminalInput.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ class TerminalInput {
3030
char Read()
3131
{
3232
char c = 0;
33+
PUSH_WARNING(DISABLE_WARNING_UNUSED_RESULT)
3334
read(STDIN_FILENO, &c, 1);
35+
POP_WARNING()
3436
return c;
3537
}
3638

0 commit comments

Comments
 (0)