Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-01 22:02:49 +0400
committerMike Frysinger <vapier@gentoo.org>2009-06-01 22:16:43 +0400
commitf524b6c87f2a34c1fd29dc8ecf9156eb418d4ea0 (patch)
tree1cb1e50d1e70a69c5069b55443136552d3e972fa /libbb/lineedit.c
parent28a105d867b6fe429c5f2f14a42e1dbb41236156 (diff)
lineedit: fix warning about unused label when VI editing is disabled
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r--libbb/lineedit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 81f6fdeff..ccffedced 100644
--- 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;