lineedit: fix warning about unused label when VI editing is disabled
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
28a105d867
commit
f524b6c87f
@ -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 the len=0 and no chars to delete */
|
||||||
if (command_len == 0) {
|
if (command_len == 0) {
|
||||||
errno = 0;
|
errno = 0;
|
||||||
|
#if ENABLE_FEATURE_EDITING_VI
|
||||||
prepare_to_die:
|
prepare_to_die:
|
||||||
|
#endif
|
||||||
/* to control stopped jobs */
|
/* to control stopped jobs */
|
||||||
break_out = command_len = -1;
|
break_out = command_len = -1;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user