vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit b9fc634c49a12ee7caee300190092a5a40389dd5 parent b6f9472d4d3df99db8ff9af3ca822bafbc0e828e Author: Marc André Tanner <mat@brain-dump.org> Date: Tue, 4 Apr 2017 20:33:01 +0200 vis: remove unused struct member Diffstat:
| M | vis-core.h | | | 1 | - |
| M | vis.c | | | 1 | - |
2 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/vis-core.h b/vis-core.h @@ -149,7 +149,6 @@ struct Win { Mode modes[VIS_MODE_INVALID]; /* overlay mods used for per window key bindings */ Win *parent; /* window which was active when showing the command prompt */ Mode *parent_mode; /* mode which was active when showing the command prompt */ - char *lexer_name; /* corresponds to filename in lexers/ subdirectory */ Win *prev, *next; /* neighbouring windows */ }; diff --git a/vis.c b/vis.c @@ -285,7 +285,6 @@ static void window_free(Win *win) { for (size_t i = 0; i < LENGTH(win->modes); i++) map_free(win->modes[i].bindings); ringbuf_free(win->jumplist); - free(win->lexer_name); free(win); }