r23490 by jghali - Fix unused variable warning

scribus-commit scribus-commit at lists.scribus.net
Sun Mar 8 22:08:35 UTC 2020


Author: jghali
Date: Sun Mar  8 22:08:35 2020
New Revision: 23490

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

Modified:
    trunk/Scribus/scribus/text/storytext.cpp

Modified: trunk/Scribus/scribus/text/storytext.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23490&path=/trunk/Scribus/scribus/text/storytext.cpp
==============================================================================
--- trunk/Scribus/scribus/text/storytext.cpp	(original)
+++ trunk/Scribus/scribus/text/storytext.cpp	Sun Mar  8 22:08:35 2020
@@ -1176,8 +1176,6 @@
 
 	assert(pos >= 0);
 	assert(pos < length());
-
-	bool hadMarks = (d->marksCount > 0);
 
 	ScText* textItem = this->d->at(pos);
 	if (textItem->mark)




More information about the scribus-commit mailing list