aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-11-10 09:48:42 -0700
committerTom Tromey <tom@tromey.com>2019-11-10 09:48:42 -0700
commitb049ce2d39fa793bf8b530e7345b81531e21eb52 (patch)
treedce4b12aafde6a35e770c14bc9fbf451d673ac62 /gdb
parent0a5e0a43cfb3a8270caecaae70423836f3d0a430 (diff)
downloadbinutils-b049ce2d39fa793bf8b530e7345b81531e21eb52.zip
binutils-b049ce2d39fa793bf8b530e7345b81531e21eb52.tar.gz
binutils-b049ce2d39fa793bf8b530e7345b81531e21eb52.tar.bz2
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
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/cli/cli-style.h3
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;