[git commit] lineedit: fix warning about unused label when VI editing is disabled
Mike Frysinger
vapier at gentoo.org
Mon Jun 1 18:02:49 UTC 2009
commit: http://git.busybox.net/busybox/commit/?id=f524b6c87f2a34c1fd29dc8ecf9156eb418d4ea0
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
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;
--
1.6.0.6
More information about the busybox-cvs
mailing list