1
1

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
Этот коммит содержится в:
Benno Schulenberg 2016-02-16 09:06:21 +00:00
родитель 706f01422d
Коммит 16ba6df68c
2 изменённых файлов: 3 добавлений и 4 удалений

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

@ -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> 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)
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;
} }