diff options
author | Mike Frysinger | 2009-06-01 14:02:49 -0400 |
---|---|---|
committer | Mike Frysinger | 2009-06-01 14:16:43 -0400 |
commit | f524b6c87f2a34c1fd29dc8ecf9156eb418d4ea0 (patch) | |
tree | 1cb1e50d1e70a69c5069b55443136552d3e972fa /libbb/lineedit.c | |
parent | 28a105d867b6fe429c5f2f14a42e1dbb41236156 (diff) | |
download | busybox-f524b6c87f2a34c1fd29dc8ecf9156eb418d4ea0.zip busybox-f524b6c87f2a34c1fd29dc8ecf9156eb418d4ea0.tar.gz |
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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 81f6fde..ccffedc 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; |