[FYI] Remove unused constructor declaration from cli_style_option

Message ID 20191110164912.32063-1-tom@tromey.com
State New
Headers show
Series
  • [FYI] Remove unused constructor declaration from cli_style_option
Related show

Commit Message

Tom Tromey Nov. 10, 2019, 4:49 p.m.
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
---
 gdb/ChangeLog       | 5 +++++
 gdb/cli/cli-style.h | 3 ---
 2 files changed, 5 insertions(+), 3 deletions(-)

-- 
2.17.2

Patch

diff --git a/gdb/cli/cli-style.h b/gdb/cli/cli-style.h
index 6716471dec3..44eb6cb63ae 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;