summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorJoseph Bisch <joseph.bisch@gmail.com>2017-04-07 08:20:28 -0400
committerJoseph Bisch <joseph.bisch@gmail.com>2017-04-07 08:20:28 -0400
commit405136440cbfd18a39e2d5aa01c812a1247c369d (patch)
tree0d51eeedbc94506771ce71fe270f31bcf2ea81cd /src/fe-common
parent7c86575b02d4f80539bcd2da3bef8195b963fa92 (diff)
downloadirssi-405136440cbfd18a39e2d5aa01c812a1247c369d.zip
Remove over_counter
We are no longer using over_counter for any functional purpose, so remove it.
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/command-history.c1
-rw-r--r--src/fe-common/core/command-history.h2
2 files changed, 1 insertions, 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;