From: Priyanka Singh Date: Fri, 16 Oct 2020 09:15:44 +0000 (+0530) Subject: board: freescale: vid.c: Initialize variable 'i2caddress' X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-logo.png?a=commitdiff_plain;h=f3555bd2854c8bda719e48e8013064ac578b5642;p=u-boot.git board: freescale: vid.c: Initialize variable 'i2caddress' Initialize variable 'i2caddress' in print_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 20c97aa1ef..bf8a5d893f 100644 --- a/board/freescale/common/vid.c +++ b/board/freescale/common/vid.c @@ -892,7 +892,7 @@ exit: static int print_vdd(void) { - int vdd_last, ret, i2caddress; + int vdd_last, ret, i2caddress = 0; ret = i2c_multiplexer_select_vid_channel(I2C_MUX_CH_VOL_MONITOR); if (ret) {