1
1

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

Found because of a report by Devin Hussey <husseydevin@gmail.com>.
Этот коммит содержится в:
Benno Schulenberg 2019-04-12 13:35:22 +02:00
родитель 167a8e5c09
Коммит bf6bcde078

Просмотреть файл

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