From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Tue, 15 Jan 2019 21:43:08 -0500 Subject: [U-Boot] [U-Boot,1/1] cmd: ubi: remove unreachable code In-Reply-To: <20190106112628.1613-1-xypron.glpk@gmx.de> References: <20190106112628.1613-1-xypron.glpk@gmx.de> Message-ID: <20190116024308.GD27429@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, Jan 06, 2019 at 12:26:28PM +0100, Heinrich Schuchardt wrote: > It does not make sense to check if argc < 2 a second time, especially after > accessing argv[1]. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: