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
@ -2522,7 +2522,9 @@ static void xc_read_line(BcVec *vec, FILE *fp)
|
|||||||
|
|
||||||
#if ENABLE_FEATURE_BC_INTERACTIVE
|
#if ENABLE_FEATURE_BC_INTERACTIVE
|
||||||
if (G_interrupt) { // ^C was pressed
|
if (G_interrupt) { // ^C was pressed
|
||||||
|
# if ENABLE_FEATURE_EDITING
|
||||||
intr:
|
intr:
|
||||||
|
# endif
|
||||||
if (fp != stdin) {
|
if (fp != stdin) {
|
||||||
// ^C while running a script (bc SCRIPT): die.
|
// ^C while running a script (bc SCRIPT): die.
|
||||||
// We do not return to interactive prompt:
|
// We do not return to interactive prompt:
|
||||||
|
Loading…
Reference in New Issue
Block a user