From d98f0844bd9d3dc6740d45960a65dd4e8f11e9ec Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Tue, 16 Sep 2008 12:20:16 -0500 Subject: Skip "N files scheduled for deletion" message when nothing scheduled. --- linden/indra/newview/lltexturecache.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'linden') diff --git a/linden/indra/newview/lltexturecache.cpp b/linden/indra/newview/lltexturecache.cpp index 0fbb3d9..ac956e2 100644 --- a/linden/indra/newview/lltexturecache.cpp +++ b/linden/indra/newview/lltexturecache.cpp @@ -1315,7 +1315,10 @@ void LLTextureCache::purgeTextureFilesTimeSliced(BOOL force_all) LLTimer timer; S32 howmany = 0; - llinfos << "TEXTURE CACHE: " << mFilesToDelete.size() << " files scheduled for deletion" << llendl; + if (mFilesToDelete.size() > 0) + { + llinfos << "TEXTURE CACHE: " << mFilesToDelete.size() << " files scheduled for deletion" << llendl; + } for (LLTextureCache::filename_list_t::iterator iter = mFilesToDelete.begin(); iter!=mFilesToDelete.end(); ) { -- cgit v1.1