From 16ba6df68c4c0298b03bbf8eece175cd55708bdf Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 16 Feb 2016 09:06:21 +0000 Subject: [PATCH] Deleting a redundant assignment. The multidata pointer is already set to NULL in make_new_node(), a few lines earlier. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5648 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 3 +++ src/files.c | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index fdf6fc78..865aea06 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2016-02-16 Benno Schulenberg + * src/files.c (initialize_buffer_text): Delete redundant assignment. + 2016-02-15 Benno Schulenberg * src/files.c (read_file): Free not just the struct but also the data it contains, and also when it is the first and only line. diff --git a/src/files.c b/src/files.c index afb499a0..cd420d91 100644 --- a/src/files.c +++ b/src/files.c @@ -128,10 +128,6 @@ void initialize_buffer_text(void) openfile->edittop = openfile->fileage; openfile->current = openfile->fileage; -#ifndef DISABLE_COLOR - openfile->fileage->multidata = NULL; -#endif - openfile->totsize = 0; } -- 2.39.5