]> git.dujemihanovic.xyz Git - u-boot.git/commit
common/cmd_i2c.c: Fix GCC 4.6 build warning
authorWolfgang Denk <wd@denx.de>
Fri, 4 Nov 2011 15:55:54 +0000 (15:55 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Nov 2011 21:15:57 +0000 (22:15 +0100)
commite8260cb25aae7051bf0cce91814b9d606d1d097e
treedd116d05351441ba122c3e881616abb27f18a171
parent1f8843344221f9e7b2de598b0ccd289abb85c58d
common/cmd_i2c.c: Fix GCC 4.6 build warning

Fix:
cmd_i2c.c: In function 'do_i2c_add_bus':
cmd_i2c.c:1212:19: warning: variable 'dev' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Heiko Schocher <hs@denx.de>
common/cmd_i2c.c