aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-01 14:02:49 -0400
committerMike Frysinger <vapier@gentoo.org>2009-06-01 14:16:43 -0400
commitf524b6c87f2a34c1fd29dc8ecf9156eb418d4ea0 (patch)
tree1cb1e50d1e70a69c5069b55443136552d3e972fa
parent28a105d867b6fe429c5f2f14a42e1dbb41236156 (diff)
downloadbusybox-w32-f524b6c87f2a34c1fd29dc8ecf9156eb418d4ea0.tar.gz
busybox-w32-f524b6c87f2a34c1fd29dc8ecf9156eb418d4ea0.tar.bz2
busybox-w32-f524b6c87f2a34c1fd29dc8ecf9156eb418d4ea0.zip
lineedit: fix warning about unused label when VI editing is disabled
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-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
1635 * if the len=0 and no chars to delete */ 1635 * if the len=0 and no chars to delete */
1636 if (command_len == 0) { 1636 if (command_len == 0) {
1637 errno = 0; 1637 errno = 0;
1638#if ENABLE_FEATURE_EDITING_VI
1638 prepare_to_die: 1639 prepare_to_die:
1640#endif
1639 /* to control stopped jobs */ 1641 /* to control stopped jobs */
1640 break_out = command_len = -1; 1642 break_out = command_len = -1;
1641 break; 1643 break;