r17782 by craig - Fix unused var warning

scribus-commit scribus-commit at lists.scribus.net
Fri Sep 28 19:58:19 UTC 2012


Author: craig
Date: Fri Sep 28 19:58:19 2012
New Revision: 17782

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17782
Log:
Fix unused var warning

Modified:
    trunk/Scribus/scribus/desaxe/digester.h

Modified: trunk/Scribus/scribus/desaxe/digester.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17782&path=/trunk/Scribus/scribus/desaxe/digester.h
==============================================================================
--- trunk/Scribus/scribus/desaxe/digester.h (original)
+++ trunk/Scribus/scribus/desaxe/digester.h Fri Sep 28 19:58:19 2012
@@ -201,8 +201,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