This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA] Remove redundant initialization of auto_solib_add


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]