qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 793317] Re: Large amount of write-only variables


From: Brad Hards
Subject: [Qemu-devel] [Bug 793317] Re: Large amount of write-only variables
Date: Mon, 06 Jun 2011 03:06:08 -0000

I'm still confused.
hw/usb-ehci.c line 526 is just a variable declaration:
    uint8_t *pci_conf;

Line 529 looks like an unused assignment, but nothing I see on line 526.

Would it be possible for you to double check the work, and possible
paste the error message instead of summarising them?

Brad

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/793317

Title:
  Large amount of write-only variables

Status in QEMU:
  New

Bug description:
  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..?

  Host: Fedora 15 i686
  Gcc: 4.6.0
  Guest: None
  I pulled the code from the git repo earlier today, so I'm pretty sure it did 
not get fixed in that short timeframe.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]