]> git.dujemihanovic.xyz Git - u-boot.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)
commitb0b1768e1b138204ab07d46cbe7d24d3770f0a12
tree96679e26d37db2ee4401cf799c8d20eb3dc36d9f
parent03fb0958c9090eb3add089cb9f5a8a5ecb30ddf6
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