]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sandbox: fix compiler warning
authorAllen Martin <amartin@nvidia.com>
Tue, 22 Jan 2013 13:11:21 +0000 (13:11 +0000)
committerSimon Glass <sjg@chromium.org>
Fri, 1 Mar 2013 03:09:21 +0000 (19:09 -0800)
Add back return statement to fix compiler warning about control flow
reaching end of non void function that was introduced with:

e05e5de arm: move C runtime setup code in crt0.S

Signed-off-by: Allen Martin <amartin@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/start.c

index 7603bf90089adb3603b6e0b355cf915d7ef43080..5287fd5ee8e4e67aa1a75060e62ed2dedaa90ed4 100644 (file)
@@ -122,4 +122,7 @@ int main(int argc, char *argv[])
         * never return.
         */
        board_init_f(0);
+
+       /* NOTREACHED - board_init_f() does not return */
+       return 0;
 }