From 68c7ecd7775d4f0145387fd146744ade99a49e62 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 11 Aug 2018 13:02:50 -0700 Subject: [PATCH] Remove reader_t::app_name field It was unused --- src/reader.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/reader.cpp b/src/reader.cpp index ad8c589d7..d95a7d078 100644 --- a/src/reader.cpp +++ b/src/reader.cpp @@ -190,8 +190,6 @@ class reader_data_t { size_t sel_start_pos{0}; /// The stop position of the current selection, if one. size_t sel_stop_pos{0}; - /// Name of the current application. - wcstring app_name; /// The prompt commands. wcstring left_prompt; wcstring right_prompt; @@ -1949,7 +1947,6 @@ void reader_push(const wcstring &name) { reader_data_t *n = new reader_data_t(); n->history = &history_t::history_with_name(name); - n->app_name = name; n->next = data; data = n; @@ -1984,7 +1981,6 @@ void reader_pop() { reader_interactive_destroy(); } else { end_loop = 0; - // history_set_mode( data->app_name.c_str() ); s_reset(&data->screen, screen_reset_abandon_line); } }