From: Tom Rini Date: Mon, 4 Jan 2016 17:23:29 -0500 Subject: [U-Boot] [U-Boot,V2] common: env: initialize scalar variable In-Reply-To: <1450843644-25279-1-git-send-email-van.freenix@gmail.com> References: <1450843644-25279-1-git-send-email-van.freenix@gmail.com> Message-ID: <20160104222329.GW4093@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 Wed, Dec 23, 2015 at 12:07:24PM +0800, Peng Fan wrote: > From: Peng Fan > > Before calling hsearch_r, initialize callback entry to NULL. > > Coverity log: > " > Uninitialized scalar variable (UNINIT) > uninit_use_in_call: Using uninitialized value e. > Field e.callback is uninitialized when calling hsearch_r. > " > > Reported-by: Coverity > Signed-off-by: Peng Fan > Cc: Tom Rini > Cc: Simon Glass Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: