CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/08/02 06:14:55
Modified files: libbase : GC.cpp Log message: make GC buildable in debug level 1 CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/libbase/GC.cpp?cvsroot=gnash&r1=1.6&r2=1.7 Patches: Index: GC.cpp =================================================================== RCS file: /sources/gnash/gnash/libbase/GC.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -u -b -r1.6 -r1.7 --- GC.cpp 3 Jul 2007 19:44:07 -0000 1.6 +++ GC.cpp 2 Aug 2007 06:14:55 -0000 1.7 @@ -16,7 +16,7 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -/* $Id: GC.cpp,v 1.6 2007/07/03 19:44:07 nihilus Exp $ */ +/* $Id: GC.cpp,v 1.7 2007/08/02 06:14:55 strk Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -73,10 +73,13 @@ void GC::cleanUnreachable() { -#if (GNASH_GC_DEBUG > 1) +#ifdef GNASH_GC_DEBUG size_t deleted = 0; +#if (GNASH_GC_DEBUG > 1) log_debug(_("GC %p: SWEEP SCAN"), (void*)this); #endif +#endif + for (ResList::iterator i=_resList.begin(), e=_resList.end(); i!=e; ) { const GcResource* res = *i; _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit