commit | 1bef00d38403a369029d945e0141969ab17c3254 | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Wed Dec 23 12:07:24 2015 +0800 |
committer | Tom Rini <trini@konsulko.com> | Mon Jan 04 12:25:35 2016 -0500 |
tree | 8c3329a5f32d195b2b9161b72000f619c35a804d | |
parent | 63225518e3a6c9f7dae4ecef04304ce124917d05 [diff] |
common: env: initialize scalar variable 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 <peng.fan@nxp.com> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org>