From: Denys Vlasenko Date: Wed, 27 Jun 2018 12:46:08 +0000 (+0200) Subject: vi: placate "warning: statement with no effect" X-Git-Tag: 1_29_0~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=39043ad25eda79e315da5148e239730ee1d8d6ca;p=oweals%2Fbusybox.git vi: placate "warning: statement with no effect" Signed-off-by: Denys Vlasenko --- 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) return err; } #else -# define query_screen_dimensions() (0) +static ALWAYS_INLINE int query_screen_dimensions(void) +{ + return 0; +} #endif static void edit_file(char *fn)