tweaks: initialize a boolean before it is referenced [valgrind]

Found because of a report by Devin Hussey <husseydevin@gmail.com>.
master
Benno Schulenberg 2019-04-12 13:35:22 +02:00
parent 167a8e5c09
commit bf6bcde078
1 changed files with 1 additions and 1 deletions

View File

@ -3197,7 +3197,7 @@ size_t actual_last_column(size_t leftedge, size_t column)
{
#ifndef NANO_TINY
if (ISSET(SOFTWRAP)) {
bool last_chunk;
bool last_chunk = FALSE;
size_t end_col = get_softwrap_breakpoint(openfile->current->data,
leftedge, &last_chunk) - leftedge;