mirror of
https://git.busybox.net/busybox
synced 2026-01-26 16:17:50 +00:00
bc: placate a "defined but not used" warning
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
67e1529b92
commit
5663a17dab
1 changed files with 2 additions and 0 deletions
|
|
@ -2522,7 +2522,9 @@ static void xc_read_line(BcVec *vec, FILE *fp)
|
|||
|
||||
#if ENABLE_FEATURE_BC_INTERACTIVE
|
||||
if (G_interrupt) { // ^C was pressed
|
||||
# if ENABLE_FEATURE_EDITING
|
||||
intr:
|
||||
# endif
|
||||
if (fp != stdin) {
|
||||
// ^C while running a script (bc SCRIPT): die.
|
||||
// We do not return to interactive prompt:
|
||||
|
|
|
|||
Loading…
Reference in a new issue