nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 1a1519b6cd4e531a19a9de5bea5112d929796203
parent 947ccbb597f56c57d4b4e82fdf21de4afc6b588c
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Wed,  3 Apr 2019 19:07:22 +0200

tweaks: drop an assignment whose value is never used  [scan-build]

This useless assignment has been there for ages, since before 2.0.0.

Diffstat:
Msrc/text.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/src/text.c b/src/text.c @@ -1514,7 +1514,6 @@ bool do_wrap(linestruct *line) line->data = charealloc(line->data, line_len + 2); line->data[line_len] = ' '; line->data[line_len + 1] = '\0'; - remainder = line->data + wrap_loc; rest_length++; openfile->totsize++; openfile->current_x++;