mb/dell: Fix uninitialized variables usage
commit000193aa902c65417f94cea050edf71b07df08d4
authorJohn Zhao <john.zhao@intel.com>
Tue, 22 Sep 2020 16:52:06 +0000 (22 09:52 -0700)
committerMichał Żygowski <michal.zygowski@3mdeb.com>
Wed, 23 Sep 2020 09:36:33 +0000 (23 09:36 +0000)
tree3a7b82a5e954aaf6b0e3eb79dcec36381ee5984f
parenteb66233b5cd4ea83ccebfcbc9814f74715802960
mb/dell: Fix uninitialized variables usage

Coverity detects uninitialized variables through PASS_BY_REFERENCE
usage. Fix this issue by initializing variables before their uage.

Found-by: Coverity CID 1429765, 1429772, 1429780
TEST=None

Signed-off-by: John Zhao <john.zhao@intel.com>
Change-Id: Ie583b072a76949fb3f17c1271a6427ee942db0ce
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45611
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
src/mainboard/dell/optiplex_9010/sch5545_ec.c