nano

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

commit 0ac04347d58818174757ce2bc182564adb9ea017
parent 610be482fa64b7f559d105947c38ed9f0fd25eb9
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Tue,  8 Jan 2019 16:02:21 -0600

tweaks: remove unnecessary variable initializations

Diffstat:
Msrc/text.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/text.c b/src/text.c @@ -1978,9 +1978,9 @@ void do_justify(bool full_justify) /* Length of the quote part of the current paragraph. */ size_t par_len; /* Number of lines in the current paragraph. */ - filestruct *first_par_line = NULL; + filestruct *first_par_line; /* Will be the first line of the justified paragraph(s), if any. */ - filestruct *last_par_line = NULL; + filestruct *last_par_line; /* Will be the line after the last line of the justified * paragraph(s), if any. */ size_t x_for_last;