about summary refs log tree commit diff stats
path: root/cpp/termbox/bytebuffer.inl
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/termbox/bytebuffer.inl')
-rw-r--r--cpp/termbox/bytebuffer.inl3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/termbox/bytebuffer.inl b/cpp/termbox/bytebuffer.inl
index c476742d..62e234c0 100644
--- a/cpp/termbox/bytebuffer.inl
+++ b/cpp/termbox/bytebuffer.inl
@@ -63,7 +63,8 @@ static void bytebuffer_resize(struct bytebuffer *b, int len) {
 }
 
 static void bytebuffer_flush(struct bytebuffer *b, int fd) {
-	write(fd, b->buf, b->len);
+	int yyy = write(fd, b->buf, b->len);
+  (void) yyy;
 	bytebuffer_clear(b);
 }