From: Tom Rini Date: Mon, 12 Jun 2017 18:44:26 -0400 Subject: [U-Boot] cmd: mtdparts: fix uninitialized variable warning In-Reply-To: <1496923443-12117-1-git-send-email-LW@KARO-electronics.de> References: <1496923443-12117-1-git-send-email-LW@KARO-electronics.de> Message-ID: <20170612224426.GE10782@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Thu, Jun 08, 2017 at 02:04:03PM +0200, Lothar Waßmann wrote: > commit 06a040a31bcf ("cmd: mtdparts: fix null pointer dereference in parse_mtdparts") > removed the initialization of a pointer variable, which is > subsequently used in a debug() call. This produces an uninitialized > variable warning, when compiling with DEBUG defined. > > Signed-off-by: Lothar Waßmann Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: