diff mbox

[04/15] Remove unused function set_gdb_completion_word_break_characters

Message ID 20191125052655.22696-5-simon.marchi@efficios.com
State New
Headers show

Commit Message

Simon Marchi Nov. 25, 2019, 5:26 a.m. UTC
gdb/ChangeLog:

	* completer.c (set_gdb_completion_word_break_characters):
	Remove.

Change-Id: If39b8d01f215a42ea3d01fb8290014613ec0bb8b
---
 gdb/completer.c | 17 -----------------
 1 file changed, 17 deletions(-)
diff mbox

Patch

diff --git a/gdb/completer.c b/gdb/completer.c
index cc0e31fa2bb2..249723f6bfe3 100644
--- a/gdb/completer.c
+++ b/gdb/completer.c
@@ -1141,23 +1141,6 @@  set_rl_completer_word_break_characters (const char *break_chars)
   rl_completer_word_break_characters = (char *) break_chars;
 }
 
-/* See definition in completer.h.  */
-
-void
-set_gdb_completion_word_break_characters (completer_ftype *fn)
-{
-  const char *break_chars;
-
-  /* So far we are only interested in differentiating filename
-     completers from everything else.  */
-  if (fn == filename_completer)
-    break_chars = gdb_completer_file_name_break_characters;
-  else
-    break_chars = gdb_completer_command_word_break_characters;
-
-  set_rl_completer_word_break_characters (break_chars);
-}
-
 /* Complete on symbols.  */
 
 void