From: Paul Burton Date: Fri, 4 Apr 2014 11:23:24 +0000 (+0100) Subject: board_r: return 0 from show_model_r X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=c4474fc88047ac91292930ae906585934df59015;p=u-boot.git board_r: return 0 from show_model_r The show_model_r function should return an int but didn't. Return 0 to indicate inevitable success and avoid the following if it is used: common/board_r.c: In function 'show_model_r': common/board_r.c:531:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ Cc: Simon Glass Signed-off-by: Paul Burton Acked-by: Simon Glass --- diff --git a/common/board_r.c b/common/board_r.c index 8629a656c2..d1f0aa9b1a 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -528,6 +528,7 @@ static int show_model_r(void) # else checkboard(); # endif + return 0; } #endif