summaryrefslogtreecommitdiff
path: root/editors/vi.c
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vi.c')
-rw-r--r--editors/vi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/editors/vi.c b/editors/vi.c
index fd8bd0f..638b3b7 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -536,7 +536,6 @@ static void edit_file(char *fn)
#define cur_line edit_file__cur_line
#endif
int c;
- int size;
#if ENABLE_FEATURE_VI_USE_SIGNALS
int sig;
#endif
@@ -545,7 +544,6 @@ static void edit_file(char *fn)
rawmode();
rows = 24;
columns = 80;
- size = 0;
IF_FEATURE_VI_ASK_TERMINAL(G.get_rowcol_error =) query_screen_dimensions();
#if ENABLE_FEATURE_VI_ASK_TERMINAL
if (G.get_rowcol_error /* TODO? && no input on stdin */) {