This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Avoid compiler warnings in mips-tdep.c
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [RFA] Avoid compiler warnings in mips-tdep.c
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Mon, 4 Jun 2001 10:55:09 +0300 (IDT)
- cc: gdb-patches at sources dot redhat dot com
On Fri, 18 May 2001, Andrew Cagney wrote:
> > Please consider the following patches to mips-tdep.c, to avoid compiler
> > warnings and fix one typo in a comment.
> >
> >
> > 2001-05-17 Eli Zaretskii <eliz@is.elta.co.il>
> >
> > * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
> > (mips_set_processor_type_command): Remove unused variable j.
> > (mips_breakpoint_from_pc): Declare breakpoint instruction
> > sequences as unsigned char, to avoid compiler warnings.
>
>
> Yes, fixes like this one are pretty obvious.
Committed.