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 Mon, Oct 29, 2001 at 11:20:23PM -0700, Kevin Buettner wrote:
>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...)

It is fine.  I think that this was actually debugging code that was
accidentally checked in.

cgf


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