This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Remove redundant initialization of auto_solib_add
- To: Fred Fish <fnf at www dot ninemoons dot com>, gdb-patches at sources dot redhat dot com
- Subject: Re: [RFA] Remove redundant initialization of auto_solib_add
- From: Kevin Buettner <kevinb at cygnus dot com>
- Date: Mon, 29 Oct 2001 23:20:23 -0700
- References: <200110300428.f9U4STX04713@fishpond.ninemoons.com>
On Oct 29, 9:28pm, Fred Fish wrote:
> The default value for auto_solib_add is a compile time constant of 1.
> There is no need to explicitly initialize it at initialization.
>
> -Fred
>
> 2001-10-29 Fred Fish <fnf@redhat.com>
>
> * win32-nat.c (_initialize_inftarg): Remove unnecessary
> initialization of auto_solib_add, it defaults to 1.
This one is fine too.
(Actually, I'm not the maintainer for win32-nat.c, but it does deal
with shared libraries and it seems pretty obvious anyway...)
Kevin