From 405136440cbfd18a39e2d5aa01c812a1247c369d Mon Sep 17 00:00:00 2001 From: Joseph Bisch Date: Fri, 7 Apr 2017 08:20:28 -0400 Subject: [PATCH] Remove over_counter We are no longer using over_counter for any functional purpose, so remove it. --- src/fe-common/core/command-history.c | 1 - src/fe-common/core/command-history.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fe-common/core/command-history.c b/src/fe-common/core/command-history.c index f957d385..55474b1b 100644 --- a/src/fe-common/core/command-history.c +++ b/src/fe-common/core/command-history.c @@ -150,7 +150,6 @@ const char *command_history_next(WINDOW_REC *window, const char *text) void command_history_clear_pos_func(HISTORY_REC *history, gpointer user_data) { - history->over_counter = 0; history->pos = NULL; } diff --git a/src/fe-common/core/command-history.h b/src/fe-common/core/command-history.h index a572216b..45126092 100644 --- a/src/fe-common/core/command-history.h +++ b/src/fe-common/core/command-history.h @@ -7,7 +7,7 @@ typedef struct { char *name; GList *list, *pos; - int lines, over_counter; + int lines; int refcount; } HISTORY_REC;