Commit 16ba6df6 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

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
No related merge requests found
Showing with 3 additions and 4 deletions
+3 -4
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> 2016-02-15 Benno Schulenberg <bensberg@justemail.net>
* src/files.c (read_file): Free not just the struct but also the * 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. data it contains, and also when it is the first and only line.
......
...@@ -128,10 +128,6 @@ void initialize_buffer_text(void) ...@@ -128,10 +128,6 @@ void initialize_buffer_text(void)
openfile->edittop = openfile->fileage; openfile->edittop = openfile->fileage;
openfile->current = openfile->fileage; openfile->current = openfile->fileage;
#ifndef DISABLE_COLOR
openfile->fileage->multidata = NULL;
#endif
openfile->totsize = 0; openfile->totsize = 0;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment