usbd: remove compiler warnings
authorMinkyu Kang <mk7.kang@samsung.com>
Wed, 1 Dec 2010 02:18:19 +0000 (11:18 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Wed, 1 Dec 2010 02:18:19 +0000 (11:18 +0900)
commit29adad8ff1d046086a32dbea5eb5fac56008e0fb
treeaa3ebfa884b6a1b634f6542fbddf2b7bac6caca4
parent22320f539751e4a5b0f069f83fda61c2bbcba465
usbd: remove compiler warnings

cmd_usbd.c: In function 'write_file_mmc_part':
cmd_usbd.c:644: warning: unused variable 'tmp'

cmd_usbd.c:723: warning: passing argument 2 of 'memsize_parse' from incompatible pointer type
cmd_usbd.c:676: note: expected 'const char **' but argument is of type 'char **'

cmd_usbd.c: In function 'write_mmc_image':
cmd_usbd.c:741: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long unsigned int'
cmd_usbd.c:742: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'long unsigned int'

cmd_usbd.c:653: note: initialized from here
cmd_usbd.c:1405: warning: 'usbd' may be used uninitialized in this function

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
common/cmd_usbd.c
include/usbd.h