summaryrefslogtreecommitdiff
path: root/vp8/encoder/firstpass.c
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2012-05-02 14:12:57 -0700
committerJohann <johannkoenig@google.com>2012-06-04 15:50:44 -0700
commitc8a88a7642f0f8a0e7599800441c7ba175469cf6 (patch)
tree7027d6a4377cd668e569f9ea78cfc2ef2585bb25 /vp8/encoder/firstpass.c
parentcd0bf0e40720e5d6924e319096160dd48362708f (diff)
downloadlibvpx-c8a88a7642f0f8a0e7599800441c7ba175469cf6.tar
libvpx-c8a88a7642f0f8a0e7599800441c7ba175469cf6.tar.gz
libvpx-c8a88a7642f0f8a0e7599800441c7ba175469cf6.tar.bz2
libvpx-c8a88a7642f0f8a0e7599800441c7ba175469cf6.zip
Explicitly discard fwrite/fread return values
Using if(); triggers an empty body warning with clang Change-Id: I0fa2ee676400a974b40f8eaafca9ae668107eebb
Diffstat (limited to 'vp8/encoder/firstpass.c')
-rw-r--r--vp8/encoder/firstpass.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vp8/encoder/firstpass.c b/vp8/encoder/firstpass.c
index 8de1a6a6f..36483d606 100644
--- a/vp8/encoder/firstpass.c
+++ b/vp8/encoder/firstpass.c
@@ -853,7 +853,8 @@ skip_motion_search:
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);
}