aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-06-27 14:46:08 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-06-27 14:46:08 +0200
commit39043ad25eda79e315da5148e239730ee1d8d6ca (patch)
tree20d3f2899a74cb128a26ecd59a9b78d963fdd1da
parent2f7738e4748594227c95bef86acf73436c334e2d (diff)
downloadbusybox-w32-39043ad25eda79e315da5148e239730ee1d8d6ca.tar.gz
busybox-w32-39043ad25eda79e315da5148e239730ee1d8d6ca.tar.bz2
busybox-w32-39043ad25eda79e315da5148e239730ee1d8d6ca.zip
vi: placate "warning: statement with no effect"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--editors/vi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/editors/vi.c b/editors/vi.c
index cdfb27cc5..61e988ce9 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -750,7 +750,10 @@ static int query_screen_dimensions(void)
750 return err; 750 return err;
751} 751}
752#else 752#else
753# define query_screen_dimensions() (0) 753static ALWAYS_INLINE int query_screen_dimensions(void)
754{
755 return 0;
756}
754#endif 757#endif
755 758
756static void edit_file(char *fn) 759static void edit_file(char *fn)