]> git.dujemihanovic.xyz Git - u-boot.git/commit
bmp_logo: Check return value of fread()
authorPeter Tyser <ptyser@xes-inc.com>
Fri, 24 Apr 2009 20:59:56 +0000 (15:59 -0500)
committerWolfgang Denk <wd@denx.de>
Mon, 27 Apr 2009 23:16:50 +0000 (01:16 +0200)
commit65351a8793c51f3787efbbcf3aa1df0ad543c127
tree02fad8d9a104be6e2c4ea60c673693ca2473e339
parenteea8be86d1c2b570660d1f6c553845e13164231a
bmp_logo: Check return value of fread()

Add basic error handling to fread() function calls.  This prevents
compililation warnings such as:

bmp_logo.c: In function ‘main’:
bmp_logo.c:71: warning: ignoring return value of ‘fread’, declared with
attribute warn_unused_result
...

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
tools/bmp_logo.c