[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Bug 793317] [NEW] Large amount of write-only variables
From: |
David Gibson |
Subject: |
Re: [Qemu-devel] [Bug 793317] [NEW] Large amount of write-only variables |
Date: |
Mon, 6 Jun 2011 16:06:19 +1000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |