On Tue, Apr 24, 2012 at 12:07:09PM +0200, Stef Walter wrote:
execv, excvp and exec_child never return 0 or EOK. So we don't
need to
handle that case. Patch clears out a bit of code.
Chances are that some static code analysis tools or -D_FORTIFY_SOURCE=2
might complain about an unchecked return value. Currently we mostly try
to make those tools happy, even if the code becomes a bit redundant.
Have you checked if -D_FORTIFY_SOURCE=2 gives an extra warning here?
bye,
Sumit
Cheers,
Stef