]> git.wh0rd.org Git - nano.git/commitdiff
Deleting a redundant assignment. The multidata pointer is already
authorBenno Schulenberg <bensberg@justemail.net>
Tue, 16 Feb 2016 09:06:21 +0000 (09:06 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Tue, 16 Feb 2016 09:06:21 +0000 (09:06 +0000)
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
src/files.c

index fdf6fc7838bd77935e509c8ee40e71e87288edc9..865aea06552081b475b52865046233edb9f36cc0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2016-02-16  Benno Schulenberg  <bensberg@justemail.net>
+       * src/files.c (initialize_buffer_text): Delete redundant assignment.
+
 2016-02-15  Benno Schulenberg  <bensberg@justemail.net>
        * 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.
index afb499a0eb7a62336bf4807795506a36a1cbcfcd..cd420d912ae7016ccc78507897c8758488399d84 100644 (file)
@@ -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;
 }