From: Benno Schulenberg Date: Tue, 16 Feb 2016 09:06:21 +0000 (+0000) Subject: Deleting a redundant assignment. The multidata pointer is already X-Git-Tag: v2.5.3~32 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=16ba6df68c4c0298b03bbf8eece175cd55708bdf;p=nano.git 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 --- 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; }