public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Remove unused constructor declaration from cli_style_option
@ 2019-11-10 16:50 Tom Tromey
0 siblings, 0 replies; only message in thread
From: Tom Tromey @ 2019-11-10 16:50 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b049ce2d39fa793bf8b530e7345b81531e21eb52
commit b049ce2d39fa793bf8b530e7345b81531e21eb52
Author: Tom Tromey <tom@tromey.com>
Date: Sun Nov 10 09:48:42 2019 -0700
Remove unused constructor declaration from cli_style_option
I noticed that cli_style_option declares a constructor that is never
defined. This removes it.
gdb/ChangeLog
2019-11-10 Tom Tromey <tom@tromey.com>
* cli/cli-style.h (class cli_style_option) <cli_style_option>:
Remove unused declaration.
Change-Id: Ic59ec7eab4d7183d9392b58709354b2d4449b7be
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/cli/cli-style.h | 3 ---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f5c8a76..bac7f44 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2019-11-10 Tom Tromey <tom@tromey.com>
+
+ * cli/cli-style.h (class cli_style_option) <cli_style_option>:
+ Remove unused declaration.
+
2019-11-08 Tom Tromey <tromey@adacore.com>
* top.c (read_command_file): Update.
diff --git a/gdb/cli/cli-style.h b/gdb/cli/cli-style.h
index 6716471..44eb6cb 100644
--- a/gdb/cli/cli-style.h
+++ b/gdb/cli/cli-style.h
@@ -34,9 +34,6 @@ public:
/* Construct a CLI style option with an intensity. */
cli_style_option (const char *name, ui_file_style::intensity i);
- /* Construct a CLI style option with an intensity. */
- cli_style_option (ui_file_style::intensity val);
-
/* Return a ui_file_style corresponding to the settings in this CLI
style. */
ui_file_style style () const;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-10 16:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-10 16:50 [binutils-gdb] Remove unused constructor declaration from cli_style_option Tom Tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).