Browse Source

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:

	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>
Allen Martin 12 năm trước cách đây
mục cha
commit
8ec21bbe5c
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      arch/sandbox/cpu/start.c

+ 3 - 0
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;
 }