projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1eac57
)
sandbox: fix compiler warning
author
Allen Martin
<amartin@nvidia.com>
Tue, 22 Jan 2013 13:11:21 +0000
(13:11 +0000)
committer
Simon 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
patch
|
blob
|
history
diff --git
a/arch/sandbox/cpu/start.c
b/arch/sandbox/cpu/start.c
index 7603bf90089adb3603b6e0b355cf915d7ef43080..5287fd5ee8e4e67aa1a75060e62ed2dedaa90ed4 100644
(file)
--- a/
arch/sandbox/cpu/start.c
+++ b/
arch/sandbox/cpu/start.c
@@
-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;
}