Hi Allen,

On Wed, 23 Jan 2013 13:05:27 -0800, Allen Martin <amar...@nvidia.com>
wrote:

> > Shouldn't the function be given '__attribute__((noreturn))' rather than
> > adding a non-executed 'return 0' to it?
> > 
> 
> The function in question is sandbox main(), and it can return if there
> was an error prior to calling board_init_f().  Here's the whole
> function for context:
> 
> int main(int argc, char *argv[]) [...]

Makes sense, thanks.

> -Allen

Amicalement,
-- 
Albert.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to