projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f7738e
)
vi: placate "warning: statement with no effect"
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 27 Jun 2018 12:46:08 +0000
(14:46 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 27 Jun 2018 12:46:08 +0000
(14:46 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
editors/vi.c
patch
|
blob
|
history
diff --git
a/editors/vi.c
b/editors/vi.c
index cdfb27cc5abeaea05daa7a8a6b7de89871cb69b6..61e988ce9169eedc013edbfa5c403faa5ae96173 100644
(file)
--- 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)