Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: fix occasional warning



On 2011-06-06 10:03:58 +0100, Peter Stephenson wrote:
> The code here is actually safe, but some (now old) versions of gcc
> produce a warning anyway.  Better to rely on more recent versions
> optimising out the unused value.

But recent or future GCC versions may warn against values set but
unused.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



Messages sorted by: Reverse Date, Date, Thread, Author