From: Anatolij Gustschin Date: Mon, 19 Dec 2011 04:20:04 +0000 (+0000) Subject: board/samsung/universal_c210/universal.c: Fix build warning X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e03492c875b7660fd2a72e640fe4b65b75803d15;p=u-boot.git board/samsung/universal_c210/universal.c: Fix build warning Fix: universal.c: In function 's5pc210_phy_control': universal.c:273:7: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] Signed-off-by: Anatolij Gustschin Cc: Lukasz Majewski Cc: Minkyu Kang Acked-by: Minkyu Kang --- diff --git a/board/samsung/universal_c210/universal.c b/board/samsung/universal_c210/universal.c index 8393e4fdd6..d0ff8341f6 100644 --- a/board/samsung/universal_c210/universal.c +++ b/board/samsung/universal_c210/universal.c @@ -260,7 +260,7 @@ int board_mmc_init(bd_t *bis) #ifdef CONFIG_USB_GADGET static int s5pc210_phy_control(int on) { - int ret; + int ret = 0; struct pmic *p = get_pmic(); if (pmic_probe(p))