r18931 by jghali - fix some compiler warnings

scribus-commit scribus-commit at lists.scribus.net
Sat Mar 22 22:37:11 UTC 2014


Author: jghali
Date: Sat Mar 22 22:37:10 2014
New Revision: 18931

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18931
Log:
fix some compiler warnings

Modified:
    trunk/Scribus/scribus/scimgdataloader_tiff.cpp

Modified: trunk/Scribus/scribus/scimgdataloader_tiff.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18931&path=/trunk/Scribus/scribus/scimgdataloader_tiff.cpp
==============================================================================
--- trunk/Scribus/scribus/scimgdataloader_tiff.cpp (original)
+++ trunk/Scribus/scribus/scimgdataloader_tiff.cpp Sat Mar 22 22:37:10 2014
@@ -138,7 +138,6 @@
 bool ScImgDataLoader_TIFF::testAlphaChannelAvailability(const QString& fn, int /*page*/, bool& hasAlpha)
 {
 	int  test;
-	bool success = false;
 
 	QByteArray byteOrder(2, ' ');
 	QFile fo(fn);
@@ -194,7 +193,6 @@
 		QList<PSDLayer> layerInfo;
 		if (loadLayerInfo(s, layerInfo))
 		{
-			int layer = 0;
 			for (int layer = 0; layer < layerInfo.count(); ++layer)
 			{
 				const PSDLayer& psdLayer = layerInfo.at(layer);




More information about the scribus-commit mailing list