Fix all remaining issues reported by LLVM/clang's scan-build

Corresponding to flashrom svn r723.

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
3 files changed