diff options
author | Johann <johannkoenig@google.com> | 2012-05-02 14:12:57 -0700 |
---|---|---|
committer | Johann <johannkoenig@google.com> | 2012-06-04 15:50:44 -0700 |
commit | c8a88a7642f0f8a0e7599800441c7ba175469cf6 (patch) | |
tree | 7027d6a4377cd668e569f9ea78cfc2ef2585bb25 /vp8 | |
parent | cd0bf0e40720e5d6924e319096160dd48362708f (diff) | |
download | libvpx-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')
-rw-r--r-- | vp8/encoder/firstpass.c | 3 |
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); } |