Re: [Qemu-devel] [PATCH] microblaze: fix custom fprintf

2010-04-27 Thread Blue Swirl
Thanks, applied. Also clang analyzer had problems with the 'fprintf' variable. On 4/27/10, Thomas Monjalon wrote: > From: Thomas Monjalon > > Using GCC-4.2.4-1ubuntu4, there is a warning: > microblaze-dis.c:792: warning: unused variable 'fprintf' > > Indeed, fprintf() is shadowed by a

[Qemu-devel] [PATCH] microblaze: fix custom fprintf

2010-04-27 Thread Thomas Monjalon
From: Thomas Monjalon Using GCC-4.2.4-1ubuntu4, there is a warning: microblaze-dis.c:792: warning: unused variable 'fprintf' Indeed, fprintf() is shadowed by a custom redefinition but is not used because of FORTIFY_SOURCE option which replace calls to fprintf() by fprintf_chk(). So, fpri