diff options
author | Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> | 2010-01-27 10:08:33 +0000 |
---|---|---|
committer | Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> | 2010-01-27 10:08:33 +0000 |
commit | 5929dae3c055c2d14102b8b5c55aa5059734ca61 (patch) | |
tree | 71f985875cbbd6a0cfcc676894b7edcf39e23102 /flashchips.h | |
parent | 276e7a7d02a5b9a951cb41209b9cb4817e7193ea (diff) | |
download | flashrom-5929dae3c055c2d14102b8b5c55aa5059734ca61.zip flashrom-5929dae3c055c2d14102b8b5c55aa5059734ca61.tar.gz |
Avoid bogus gcc warning
Recent gcc/glibc combinations warn about ignoring the fgets() result.
The problem exists on Ubuntu 9.10 with current updates. This "fix" of
the non-problem (as I check ferror() afterwards) should even be a
(negligible) performance optimization.
Corresponding to flashrom svn r884.
Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Andrew Morgan <ziltro@ziltro.com>
Diffstat (limited to 'flashchips.h')
0 files changed, 0 insertions, 0 deletions