]> git.wh0rd.org Git - nano.git/commitdiff
Removing a redundant 'ifdef DEBUG'.
authorBenno Schulenberg <bensberg@justemail.net>
Fri, 28 Feb 2014 11:52:52 +0000 (11:52 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Fri, 28 Feb 2014 11:52:52 +0000 (11:52 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4624 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
src/global.c

index ee34c0afeba9e9e1d0f2ca404db2497acd552ae5..0a04ac97168317c920ffc50b2a54cd04d8256b15 100644 (file)
--- 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
index a7a46ca7ca6a7d2a2b7ce603e89915709bfff6de..ad4c52ae90b78820fb72b68aa937de7945ec754e 100644 (file)
@@ -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);