vi: placate "warning: statement with no effect"

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2018-06-27 14:46:08 +02:00
parent 2f7738e474
commit 39043ad25e

View File

@ -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)