Commit 5d8d0b19 authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

remove redundancy

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2549 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 2 additions and 5 deletions
+2 -5
...@@ -1216,12 +1216,9 @@ void thanks_for_all_the_fish(void) ...@@ -1216,12 +1216,9 @@ void thanks_for_all_the_fish(void)
} }
#endif #endif
#ifdef ENABLE_MULTIBUFFER #ifdef ENABLE_MULTIBUFFER
if (open_files != NULL) {
/* Free the memory associated with each open file buffer. */ /* Free the memory associated with each open file buffer. */
while (open_files != open_files->prev) if (open_files != NULL)
open_files = open_files->prev;
free_openfilestruct(open_files); free_openfilestruct(open_files);
}
#else #else
if (fileage != NULL) if (fileage != NULL)
free_filestruct(fileage); free_filestruct(fileage);
......
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