summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenys Vlasenko2021-04-14 18:55:30 +0200
committerDenys Vlasenko2021-04-14 18:55:30 +0200
commit7c813fbabfa672e74a387ab457b9fa39ca1a57aa (patch)
treebbba9782763c836207bd8e73e76986371e78cc7d /coreutils
parentfe2d8065e3e3c251c054a30e9823977e20b5ab7c (diff)
downloadbusybox-7c813fbabfa672e74a387ab457b9fa39ca1a57aa.zip
busybox-7c813fbabfa672e74a387ab457b9fa39ca1a57aa.tar.gz
echo: fix !ENABLE_FEATURE_FANCY_ECHO build
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/echo.c b/coreutils/echo.c
index 61ba060..aab177c 100644
--- a/coreutils/echo.c
+++ b/coreutils/echo.c
@@ -87,6 +87,7 @@ int echo_main(int argc UNUSED_PARAM, char **argv)
char *out;
char *buffer;
unsigned buflen;
+ int err;
#if !ENABLE_FEATURE_FANCY_ECHO
enum {
eflag = 0, /* 0 -- disable escape sequences */
@@ -97,7 +98,6 @@ int echo_main(int argc UNUSED_PARAM, char **argv)
#else
char nflag = 1;
char eflag = 0;
- int err;
while ((arg = *++argv) != NULL) {
char n, e;