This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Eliminate useless test of variable before overwriting it in sh-tdep.c
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: fnf at redhat dot com
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 16 Feb 2004 10:43:56 -0500
- Subject: Re: [RFA] Eliminate useless test of variable before overwriting it in sh-tdep.c
- References: <200402121512.40574.fnf@ninemoons.com>
Fred Fish writes:
> In sh-tdep.c, cache->uses_fp is set to either 0 or 1, so there is no
> point in testing to see if it is already 1 before setting it to 1.
>
ok.