On Mon, Jun 06, 2011 at 01:02:33AM -0000, Eli wrote:
> Public bug reported:
> 
> Whenever I try to compile the source from the git repo, it gets a large
> number of "set but not used" errors, in files such as:
> 
> hw/usb_ochi.c (line 526, 1114, and 1108)
> hw/lsi53c895a.c (line 892)
> kvm.c (line 973)
> target-alpha/translate.c (line 1472, 1470)
> linux-user/syscall.c (line 7062, 3754)
> exec.c (line 1211)
> linux-user/linuxload.c (line 60)
> 
> Really now, why would anyone create so many write-only variables knowing
> that it's compiled with write-only variables causing errors..?

It's a new warning in gcc 4.6, which is why these weren't found
before.

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson

Reply via email to