From c3aa97eec36c2dbc23f801d353b6577194c9ef60 Mon Sep 17 00:00:00 2001 From: Tim Kourt Date: Thu, 20 Apr 2017 13:42:18 -0700 Subject: [PATCH] client: Remove display_types queue --- client/display.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/client/display.c b/client/display.c index 99bc298c..7a44cea6 100644 --- a/client/display.c +++ b/client/display.c @@ -35,7 +35,6 @@ #define IWD_PROMPT COLOR_GREEN "[iwd]" COLOR_OFF "# " #define LINE_LEN 81 -static struct l_queue *display_types; static struct l_io *io; static char dashed_line[LINE_LEN]; static char empty_line[LINE_LEN]; @@ -236,8 +235,6 @@ void display_init(void) memset(&dashed_line, '-', sizeof(dashed_line) - 1); memset(&empty_line, ' ', sizeof(empty_line) - 1); - display_types = l_queue_new(); - setlinebuf(stdout); rl_erase_empty_line = 1; @@ -251,7 +248,4 @@ void display_exit(void) rl_callback_handler_remove(); l_io_destroy(io); - - l_queue_destroy(display_types, NULL); - display_types = NULL; }