From f3555bd2854c8bda719e48e8013064ac578b5642 Mon Sep 17 00:00:00 2001 From: Priyanka Singh Date: Fri, 16 Oct 2020 14:45:44 +0530 Subject: [PATCH] board: freescale: vid.c: Initialize variable 'i2caddress' Initialize variable 'i2caddress' in print_vdd() to zero Signed-off-by: Priyanka Singh Reviewed-by: Priyanka Jain --- board/freescale/common/vid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5