diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-06-24 13:43:11 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-06-24 15:05:29 +0200 |
| commit | 5663a17dabfcad885cc80f155ef84f7b843845cc (patch) | |
| tree | 6651dc68e37f6155c932b91c464c788c5727db9b | |
| parent | 67e1529b921416d6c3f33fb43691bc9919e3eacc (diff) | |
| download | busybox-w32-5663a17dabfcad885cc80f155ef84f7b843845cc.tar.gz busybox-w32-5663a17dabfcad885cc80f155ef84f7b843845cc.tar.bz2 busybox-w32-5663a17dabfcad885cc80f155ef84f7b843845cc.zip | |
bc: placate a "defined but not used" warning
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| -rw-r--r-- | miscutils/bc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c index c7246ea1a..4d987325e 100644 --- a/miscutils/bc.c +++ b/miscutils/bc.c | |||
| @@ -2522,7 +2522,9 @@ static void xc_read_line(BcVec *vec, FILE *fp) | |||
| 2522 | 2522 | ||
| 2523 | #if ENABLE_FEATURE_BC_INTERACTIVE | 2523 | #if ENABLE_FEATURE_BC_INTERACTIVE |
| 2524 | if (G_interrupt) { // ^C was pressed | 2524 | if (G_interrupt) { // ^C was pressed |
| 2525 | # if ENABLE_FEATURE_EDITING | ||
| 2525 | intr: | 2526 | intr: |
| 2527 | # endif | ||
| 2526 | if (fp != stdin) { | 2528 | if (fp != stdin) { |
| 2527 | // ^C while running a script (bc SCRIPT): die. | 2529 | // ^C while running a script (bc SCRIPT): die. |
| 2528 | // We do not return to interactive prompt: | 2530 | // We do not return to interactive prompt: |
