diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-13 20:57:01 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-05-13 20:57:01 +0200 |
commit | 60a9414cad23b6e8cc6b13e37675826ed05f7709 (patch) | |
tree | 38b193f0468dd57728fe991e9eaed8abf088deeb /editors | |
parent | 8dd29da2c667b6c9ae7381096320b9e31d3a50e2 (diff) | |
download | busybox-w32-60a9414cad23b6e8cc6b13e37675826ed05f7709.tar.gz busybox-w32-60a9414cad23b6e8cc6b13e37675826ed05f7709.tar.bz2 busybox-w32-60a9414cad23b6e8cc6b13e37675826ed05f7709.zip |
fix "variable 'foo' set but not used" warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/vi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/editors/vi.c b/editors/vi.c index fd8bd0f78..638b3b733 100644 --- a/editors/vi.c +++ b/editors/vi.c | |||
@@ -536,7 +536,6 @@ static void edit_file(char *fn) | |||
536 | #define cur_line edit_file__cur_line | 536 | #define cur_line edit_file__cur_line |
537 | #endif | 537 | #endif |
538 | int c; | 538 | int c; |
539 | int size; | ||
540 | #if ENABLE_FEATURE_VI_USE_SIGNALS | 539 | #if ENABLE_FEATURE_VI_USE_SIGNALS |
541 | int sig; | 540 | int sig; |
542 | #endif | 541 | #endif |
@@ -545,7 +544,6 @@ static void edit_file(char *fn) | |||
545 | rawmode(); | 544 | rawmode(); |
546 | rows = 24; | 545 | rows = 24; |
547 | columns = 80; | 546 | columns = 80; |
548 | size = 0; | ||
549 | IF_FEATURE_VI_ASK_TERMINAL(G.get_rowcol_error =) query_screen_dimensions(); | 547 | IF_FEATURE_VI_ASK_TERMINAL(G.get_rowcol_error =) query_screen_dimensions(); |
550 | #if ENABLE_FEATURE_VI_ASK_TERMINAL | 548 | #if ENABLE_FEATURE_VI_ASK_TERMINAL |
551 | if (G.get_rowcol_error /* TODO? && no input on stdin */) { | 549 | if (G.get_rowcol_error /* TODO? && no input on stdin */) { |