From: Fred Fish <fnf@fishpond.ninemoons.com>
To: gdb-patches@sources.redhat.com
Subject: [RFA] Remove redundant initialization of auto_solib_add
Date: Mon, 29 Oct 2001 20:30:00 -0000 [thread overview]
Message-ID: <200110300428.f9U4STX04713@fishpond.ninemoons.com> (raw)
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.
Index: win32-nat.c
===================================================================
RCS file: /cvs/src/src/gdb/win32-nat.c,v
retrieving revision 1.33
diff -u -p -r1.33 win32-nat.c
--- win32-nat.c 2001/10/26 09:29:31 1.33
+++ win32-nat.c 2001/10/30 04:27:54
@@ -1453,7 +1453,6 @@ _initialize_inftarg (void)
"Load dll library symbols from FILE.");
c->completer = filename_completer;
- auto_solib_add = 1;
add_com_alias ("sharedlibrary", "dll-symbols", class_alias, 1);
add_show_from_set (add_set_cmd ("new-console", class_support, var_boolean,
next reply other threads:[~2001-10-29 20:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-29 20:30 Fred Fish [this message]
2001-10-29 22:20 ` Kevin Buettner
2001-10-30 12:22 ` Christopher Faylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200110300428.f9U4STX04713@fishpond.ninemoons.com \
--to=fnf@fishpond.ninemoons.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox