qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] microblaze: unused variable
@ 2011-01-22 14:43 Blue Swirl
  2011-01-22 22:34 ` [Qemu-devel] " Edgar E. Iglesias
  2011-01-23  3:17 ` Edgar E. Iglesias
  0 siblings, 2 replies; 3+ messages in thread
From: Blue Swirl @ 2011-01-22 14:43 UTC (permalink / raw)
  To: Edgar E. Iglesias, qemu-devel

helper_addkc() in op_helper.c looks buggy, GCC 4.6.0 complains:
  CC    microblaze-softmmu/op_helper.o
/src/qemu/target-microblaze/op_helper.c: In function 'helper_addkc':
/src/qemu/target-microblaze/op_helper.c:133:14: error: variable 'd'
set but not used [-Werror=unused-but-set-variable]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] Re: microblaze: unused variable
  2011-01-22 14:43 [Qemu-devel] microblaze: unused variable Blue Swirl
@ 2011-01-22 22:34 ` Edgar E. Iglesias
  2011-01-23  3:17 ` Edgar E. Iglesias
  1 sibling, 0 replies; 3+ messages in thread
From: Edgar E. Iglesias @ 2011-01-22 22:34 UTC (permalink / raw)
  To: Blue Swirl; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 546 bytes --]

Thanks ble,
The addk. Helper is now there only there to compute carry. I
Feel free to remove the unused statement and unusrd vars. Otherwise ill do
when im back again. Cheers

On Jan 22, 2011 3:43 PM, "Blue Swirl" <blauwirbel@gmail.com> wrote:
>
> helper_addkc() in op_helper.c looks buggy, GCC 4.6.0 complains:
>  CC    microblaze-softmmu/op_helper.o
> /src/qemu/target-microblaze/op_helper.c: In function 'helper_addkc':
> /src/qemu/target-microblaze/op_helper.c:133:14: error: variable 'd'
> set but not used [-Werror=unused-but-set-variable]

[-- Attachment #2: Type: text/html, Size: 699 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] Re: microblaze: unused variable
  2011-01-22 14:43 [Qemu-devel] microblaze: unused variable Blue Swirl
  2011-01-22 22:34 ` [Qemu-devel] " Edgar E. Iglesias
@ 2011-01-23  3:17 ` Edgar E. Iglesias
  1 sibling, 0 replies; 3+ messages in thread
From: Edgar E. Iglesias @ 2011-01-23  3:17 UTC (permalink / raw)
  To: Blue Swirl; +Cc: qemu-devel

On Sat, Jan 22, 2011 at 02:43:36PM +0000, Blue Swirl wrote:
> helper_addkc() in op_helper.c looks buggy, GCC 4.6.0 complains:
>   CC    microblaze-softmmu/op_helper.o
> /src/qemu/target-microblaze/op_helper.c: In function 'helper_addkc':
> /src/qemu/target-microblaze/op_helper.c:133:14: error: variable 'd'
> set but not used [-Werror=unused-but-set-variable]

Hi,

I've commited something that hopefully fixes the problem now.

Sorry for the previously crazy drunken andriod keyboarded msg :)

Cheers

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-23  3:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-22 14:43 [Qemu-devel] microblaze: unused variable Blue Swirl
2011-01-22 22:34 ` [Qemu-devel] " Edgar E. Iglesias
2011-01-23  3:17 ` Edgar E. Iglesias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).