Skip to content

Commit

Permalink
lineedit: fix warning about unused label when VI editing is disabled
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <[email protected]>
  • Loading branch information
vapier committed Jun 1, 2009
1 parent 28a105d commit f524b6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libbb/lineedit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f524b6c

Please sign in to comment.