fix "variable 'foo' set but not used" warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -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 */) {
|
||||
|
Reference in New Issue
Block a user