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:
28a105d
)
lineedit: fix warning about unused label when VI editing is disabled
author
Mike Frysinger
<vapier@gentoo.org>
Mon, 1 Jun 2009 18:02:49 +0000
(14:02 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Mon, 1 Jun 2009 18:16:43 +0000
(14:16 -0400)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
libbb/lineedit.c
patch
|
blob
|
history
diff --git
a/libbb/lineedit.c
b/libbb/lineedit.c
index 81f6fdeffb3479bde8137d445bbfc933bcd2db63..ccffedcedb6dee48ddbad64ee2bf92f921aad52d 100644
(file)
--- a/
libbb/lineedit.c
+++ b/
libbb/lineedit.c
@@
-1635,7
+1635,9
@@
int FAST_FUNC read_line_input(const char *prompt, char *command, int maxsize, li
* if the len=0 and no chars to delete */
if (command_len == 0) {
errno = 0;
+#if ENABLE_FEATURE_EDITING_VI
prepare_to_die:
+#endif
/* to control stopped jobs */
break_out = command_len = -1;
break;