summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko2014-05-02 07:18:55 +0200
committerDenys Vlasenko2014-05-02 07:18:55 +0200
commitfe33683c8bad841a1b5e947fcc6a502b85ca53cf (patch)
treedd25ba60726b8af53abc4bb069c2ebdac5ebf02d /miscutils
parent43b8a1cc3825eedb85e10cbe2f91a20fbe7c4434 (diff)
downloadbusybox-fe33683c8bad841a1b5e947fcc6a502b85ca53cf.zip
busybox-fe33683c8bad841a1b5e947fcc6a502b85ca53cf.tar.gz
Fix compile failures
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/less.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/less.c b/miscutils/less.c
index 36d0a0b..d84df46 100644
--- a/miscutils/less.c
+++ b/miscutils/less.c
@@ -456,7 +456,7 @@ static void read_lines(void)
readeof = eof_error;
if (eof_error <= 0)
goto reached_eof;
- had_progress = 1;
+ IF_FEATURE_LESS_REGEXP(had_progress = 1;)
}
c = readbuf[readpos];
/* backspace? [needed for manpages] */