r15797 by fschmid - Fixed compiler warning.

scribus-commit scribus-commit at lists.scribus.net
Sun Nov 7 10:40:29 CET 2010


Author: fschmid
Date: Sun Nov  7 09:40:29 2010
New Revision: 15797

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15797
Log:
Fixed compiler warning.

Modified:
    trunk/Scribus/scribus/plugins/import/pct/importpct.cpp

Modified: trunk/Scribus/scribus/plugins/import/pct/importpct.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15797&path=/trunk/Scribus/scribus/plugins/import/pct/importpct.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pct/importpct.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/pct/importpct.cpp Sun Nov  7 09:40:29 2010
@@ -1158,7 +1158,7 @@
 			Bc = 0x0000;
 			break;
 	}
-	int redC, greenC, blueC, hR, hG, hB;
+	int redC, greenC, blueC;
 	redC = qRound((Rc / 65535.0) * 255.0);
 	greenC = qRound((Gc / 65535.0) * 255.0);
 	blueC = qRound((Bc / 65535.0) * 255.0);
@@ -1190,7 +1190,7 @@
 	ScColor tmp;
 	ColorList::Iterator it;
 	quint16 Rc, Gc, Bc;
-	int redC, greenC, blueC, hR, hG, hB;
+	int redC, greenC, blueC;
 	ts >> Rc >> Gc >> Bc;
 	redC = qRound((Rc / 65535.0) * 255.0);
 	greenC = qRound((Gc / 65535.0) * 255.0);




More information about the scribus-commit mailing list