From b049ce2d39fa793bf8b530e7345b81531e21eb52 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 10 Nov 2019 09:48:42 -0700 Subject: 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 * cli/cli-style.h (class 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(-) (limited to 'gdb') 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 + + * cli/cli-style.h (class cli_style_option) : + Remove unused declaration. + 2019-11-08 Tom Tromey * 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; -- cgit v1.1