← Commit list

5663a17da

Denys Vlasenko
Denys Vlasenko
2020-06-24
SUCCESS Duration: 150s

Subject

bc: placate a "defined but not used" warning

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

miscutils/bc.c+2 -0
@@ -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: