projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67e1529
)
bc: placate a "defined but not used" warning
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 24 Jun 2020 11:43:11 +0000
(13:43 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 24 Jun 2020 13:05:29 +0000
(15:05 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/bc.c
patch
|
blob
|
history
diff --git
a/miscutils/bc.c
b/miscutils/bc.c
index c7246ea1a1610195e78de07d9e09b4e38535fcdd..4d987325e9a0c4b95cae6cea4d0ed97ac05be7fc 100644
(file)
--- a/
miscutils/bc.c
+++ b/
miscutils/bc.c
@@
-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: