From e03492c875b7660fd2a72e640fe4b65b75803d15 Mon Sep 17 00:00:00 2001 From: Anatolij Gustschin Date: Mon, 19 Dec 2011 04:20:04 +0000 Subject: [PATCH] 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 --- board/samsung/universal_c210/universal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.30.2