diff Plugins/Input/timidity/libtimidity/common.c @ 701:d539e5c5f730 trunk

[svn] Fixes of the remaining GCC 4.1 warnings from external contributor Diego "Flameeyes" Petteno (Gentoo).
author chainsaw
date Sun, 26 Feb 2006 13:08:35 -0800
parents c1dfb4b13be8
children
line wrap: on
line diff
--- a/Plugins/Input/timidity/libtimidity/common.c	Sun Feb 26 10:21:49 2006 -0800
+++ b/Plugins/Input/timidity/libtimidity/common.c	Sun Feb 26 13:08:35 2006 -0800
@@ -95,8 +95,11 @@
   void *p;
 
   p = malloc(count);
+
+#ifdef DEBUG
   if (p == NULL)
     DEBUG_MSG("Sorry. Couldn't malloc %d bytes.\n", count);
+#endif
 
   return p;
 }