From: Priyanka Singh Date: Tue, 27 Oct 2020 10:20:14 +0000 (+0530) Subject: board: freescale: vid.c: Initialize variable 'i2caddress' X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=f6cb837721425000fc666ef350b77d400a08f584;p=u-boot.git board: freescale: vid.c: Initialize variable 'i2caddress' Initialize variable 'i2caddress' in adjust_vdd() to zero Signed-off-by: Priyanka Singh Reviewed-by: Priyanka Jain --- diff --git a/board/freescale/common/vid.c b/board/freescale/common/vid.c index 77a3be68ef..2617f61520 100644 --- a/board/freescale/common/vid.c +++ b/board/freescale/common/vid.c @@ -485,7 +485,7 @@ int adjust_vdd(ulong vdd_override) u8 vid; #endif int vdd_target, vdd_current, vdd_last; - int ret, i2caddress; + int ret, i2caddress = 0; unsigned long vdd_string_override; char *vdd_string; #if defined(CONFIG_ARCH_LX2160A) || defined(CONFIG_ARCH_LX2162A)