bc: placate a "defined but not used" warning

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2020-06-24 13:43:11 +02:00
parent 67e1529b92
commit 5663a17dab

View File

@ -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: