r17811 by craig - Fix digester compiler warning

scribus-commit scribus-commit at lists.scribus.net
Wed Oct 17 20:00:37 UTC 2012


Author: craig
Date: Wed Oct 17 20:00:37 2012
New Revision: 17811

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17811
Log:
Fix digester compiler warning

Modified:
    branches/Version14x/Scribus/scribus/desaxe/digester.h

Modified: branches/Version14x/Scribus/scribus/desaxe/digester.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17811&path=/branches/Version14x/Scribus/scribus/desaxe/digester.h
==============================================================================
--- branches/Version14x/Scribus/scribus/desaxe/digester.h (original)
+++ branches/Version14x/Scribus/scribus/desaxe/digester.h Wed Oct 17 20:00:37 2012
@@ -200,8 +200,8 @@
 #ifdef DESAXE_DEBUG
 	std::cerr << "bottom(" << offset << ") of " << objects.size() << "\n";
 #endif
-	unsigned int count = objects.size();
-	assert (offset < count); 
+	//unsigned int count = objects.size();
+	assert (offset < objects.size());
 	PRIVATE::chkcell<ObjType> (objects[offset]);
 	return static_cast<ObjType*>(objects[offset].ptr);
 }




More information about the scribus-commit mailing list