On Wed, May 25, 2011 at 12:38:09PM +0000, Jim Meyering wrote:
> Clang also warned about this:
>
> ANALYZE: eval.c evalpipe
> eval.c:575:10: warning: Assigned value is garbage or undefined
> prevfd = pip[0];
> ^ ~~~~~~
This isn't really a bug. If pip[0] is garbage at this point, then
we're the last element in a pipeline and prevfd will never be used
again.
If you can think of a way of solving this without adding to the code
size then I'll gladly apply it :)
Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[LARTC]
[Bugtraq]
[Yosemite Forum]
[Photo]