diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2014-01-10 14:38:26 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2014-01-10 14:38:26 +0100 |
commit | 79df481dc4723cc018731508bc08ce42b3b2eb17 (patch) | |
tree | 8b7040d01b35f4ec69bb5d566dd128a543a060f4 | |
parent | 7c47b560a8fc97956dd8132bd7f1863d83c19866 (diff) | |
download | busybox-w32-79df481dc4723cc018731508bc08ce42b3b2eb17.tar.gz busybox-w32-79df481dc4723cc018731508bc08ce42b3b2eb17.tar.bz2 busybox-w32-79df481dc4723cc018731508bc08ce42b3b2eb17.zip |
lineedit: fix trivial build failure
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | libbb/lineedit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index b168f1b86..85643079b 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -1255,7 +1255,9 @@ line_input_t* FAST_FUNC new_line_input_t(int flags) | |||
1255 | { | 1255 | { |
1256 | line_input_t *n = xzalloc(sizeof(*n)); | 1256 | line_input_t *n = xzalloc(sizeof(*n)); |
1257 | n->flags = flags; | 1257 | n->flags = flags; |
1258 | #if MAX_HISTORY > 0 | ||
1258 | n->max_history = MAX_HISTORY; | 1259 | n->max_history = MAX_HISTORY; |
1260 | #endif | ||
1259 | return n; | 1261 | return n; |
1260 | } | 1262 | } |
1261 | 1263 | ||