]> git.baikalelectronics.ru Git - uboot.git/commit
test: hexdump: fix misplaced return
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Tue, 4 Dec 2018 20:30:08 +0000 (21:30 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 12 Dec 2018 17:14:21 +0000 (12:14 -0500)
commitf707debebfdaf743e5d70fd221aae055c058577d
tree96679e26d37db2ee4401cf799c8d20eb3dc36d9f
parent5ec003c264562da5ccebf0a884cec3106bc499d0
test: hexdump: fix misplaced return

One of the hexdump tests in test/lib/hexdump.c returns right at the
start of the function without testing anything.

Fix this by moving the 'return 0;' statement to the end of the function.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/lib/hexdump.c