From 54aa182f7228da7b8ac171821d436fb71943e1dc Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sun, 13 Oct 2013 20:15:18 +0200 Subject: [PATCH] Remove Walter-ism that doesn't even work in release mode. --- driver/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/driver/main.cpp b/driver/main.cpp index 37b66122..52d2a241 100644 --- a/driver/main.cpp +++ b/driver/main.cpp @@ -1074,8 +1074,7 @@ int main(int argc, char **argv) if (name && name[0] == '-' && name[1] == 0) { // Write to stdout; assume it succeeds - int n = fwrite(buf.data, 1, buf.offset, stdout); - assert(n == buf.offset); // keep gcc happy about return values + (void)fwrite(buf.data, 1, buf.offset, stdout); } else {