sandbox: fix compiler warning
PATCH v2 1/1 sandbox: fix compiler warning
Add back return statement to fix compiler warning about control flow reaching end of non void function that was introduced with:
fec79ac sandbox: drop unused return
Signed-off-by Allen Martin <[email protected]>
Acked-by Simon Glass <[email protected]>
--- arch/sandbox/cpu/start.c | 3 +++ 1 file changed, 3 insertions(+)
arch/sandbox/cpu/start.c +3 -0
@@ -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 ; }
Signature · 1 line
1.7.10.4