shithub: libvpx

Download patch

ref: 1c0ee77589b05a99ec50abdd373d2ba15d4fc8d6
parent: 434336b072ede09c69fc1ebf59810da63565ad32
author: Frank Galligan <fgalligan@google.com>
date: Fri Dec 7 10:20:39 EST 2012

Fix meaninglesss if.

Change-Id: I0cb06d77805246fe39d39ad3bc5df3c3f52c7050

--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -780,7 +780,7 @@
     else
       recon_file = fopen(filename, "ab");
 
-    if (fwrite(lst_yv12->buffer_alloc, lst_yv12->frame_size, 1, recon_file));
+    (void)fwrite(lst_yv12->buffer_alloc, lst_yv12->frame_size, 1, recon_file);
     fclose(recon_file);
   }
 
--