commit 9a21761b243aaaff4018050f30a5d7d2600d8190
parent 46fccb2610da36c9c16a157ab289876e3c4a2362
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Fri, 28 Feb 2014 11:52:52 +0000
Removing a redundant 'ifdef DEBUG'.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4624 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,7 @@
2014-02-28 Benno Schulenberg <bensberg@justemail.net>
- * src/text.c (execute_command): Equalize pipe error messages.
+ * src/text.c (execute_command) - Equalize pipe error messages.
+ * src/global.c (thanks_for_all_the_fish) - Remove a redundant
+ '#ifdef DEBUG', it is contained within a wider one.
2014-02-28 Eitan Adler <lists@eitanadler.com>
* src/nano.c (do_toggle) - Constify a char pointer, to fix
diff --git a/src/global.c b/src/global.c
@@ -1743,11 +1743,9 @@ void thanks_for_all_the_fish(void)
if (jusbuffer != NULL)
free_filestruct(jusbuffer);
#endif
-#ifdef DEBUG
/* Free the memory associated with each open file buffer. */
if (openfile != NULL)
free_openfilestruct(openfile);
-#endif
#ifdef ENABLE_COLOR
if (syntaxstr != NULL)
free(syntaxstr);