[U-Boot] [PATCH 2/3] drivers/bios_emulator/x86emu/ops.c: Fix GCC 4.6 build warning

Wolfgang Denk wd at denx.de
Wed Nov 16 20:59:11 CET 2011


Dear Kumar Gala,

In message <1320855670-7289-2-git-send-email-galak at kernel.crashing.org> you wrote:
> Fix:
> 
> x86emu/ops.c: In function 'x86emuOp_int3':
> x86emu/ops.c:3521:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
> x86emu/ops.c: In function 'x86emuOp_int_IMM':
> x86emu/ops.c:3549:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
> x86emu/ops.c: In function 'x86emuOp_into':
> x86emu/ops.c:3579:9: warning: variable 'tmp' set but not used [-Wunused-but-set-variable]
> x86emu/ops.c: In function 'x86emuOp_aad':
> x86emu/ops.c:3993:8: warning: variable 'a' set but not used [-Wunused-but-set-variable]
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
>  drivers/bios_emulator/x86emu/ops.c |   15 ++++-----------
>  1 files changed, 4 insertions(+), 11 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I have a very small mind and must live with it.    -- Edsger Dijkstra


More information about the U-Boot mailing list