[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] Lua 5.2.0 (rc2) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 29 Nov 2011 10:19:32 -0200
> >> return (exit(status), 0);
> >> if (L) exit(status); /* test to avoid warnings of 'exit' x 'return' */
> >> return 0;
> I have tested the previous two patches on the bunch of compilers
> currently installed on my computer.
> None of them produced a warning for both tricks.
> The first one is probably better because it avoids an additional
> useless test-and-jump.
According to , something similar to the first option gave warnings
It would be nice if other people could try these options in their