commit | 823dc9d9bc1e9aa9e695a9765a8ae54862b913ee | [log] [tgz] |
---|---|---|
author | Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> | Wed Jan 27 10:08:33 2010 +0000 |
committer | Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de> | Wed Jan 27 10:08:33 2010 +0000 |
tree | 71f985875cbbd6a0cfcc676894b7edcf39e23102 | |
parent | 06602c239c5de952bdc384a7f41d106ed6d24dc2 [diff] |
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>