]> git.baikalelectronics.ru Git - uboot.git/commit
cmd: ubi: remove unreachable code
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 6 Jan 2019 11:26:28 +0000 (12:26 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 15 Jan 2019 20:28:44 +0000 (15:28 -0500)
commit1bcd7fe6d8ed36569192738f4bba454c61bcf9b2
tree5749c7c6cecb360f01ad0360e18a393e27514efc
parent5d80642f23953169cf3b5938525e12b2e42c5f0f
cmd: ubi: remove unreachable code

It does not make sense to check if argc < 2 a second time, especially after
accessing argv[1].

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/ubi.c