r22464 by jghali - fix a few gcc warnings
scribus-commit
scribus-commit at lists.scribus.net
Wed Apr 4 07:06:10 UTC 2018
Author: jghali
Date: Wed Apr 4 07:06:10 2018
New Revision: 22464
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22464
Log:
fix a few gcc warnings
Modified:
trunk/Scribus/scribus/palettes/cxfcolor.cpp
trunk/Scribus/scribus/palettes/cxftristimulusspec.cpp
Modified: trunk/Scribus/scribus/palettes/cxfcolor.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22464&path=/trunk/Scribus/scribus/palettes/cxfcolor.cpp
==============================================================================
--- trunk/Scribus/scribus/palettes/cxfcolor.cpp (original)
+++ trunk/Scribus/scribus/palettes/cxfcolor.cpp Wed Apr 4 07:06:10 2018
@@ -141,9 +141,6 @@
bool CxfColorHTML::parse(QDomElement& colorElem)
{
bool convOk = false;
- bool gotRed(false);
- bool gotGreen(false);
- bool gotBlue(false);
reset();
@@ -191,7 +188,6 @@
bool CxfColorCMYK::parse(QDomElement& colorElem)
{
- bool convOk = false;
bool gotCyan(false);
bool gotMagenta(false);
bool gotYellow(false);
Modified: trunk/Scribus/scribus/palettes/cxftristimulusspec.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22464&path=/trunk/Scribus/scribus/palettes/cxftristimulusspec.cpp
==============================================================================
--- trunk/Scribus/scribus/palettes/cxftristimulusspec.cpp (original)
+++ trunk/Scribus/scribus/palettes/cxftristimulusspec.cpp Wed Apr 4 07:06:10 2018
@@ -35,7 +35,6 @@
bool CxfTristimulusSpec::parse(QDomElement& elem)
{
- bool convOk = false;
bool parsingError = false;
QString txt;
More information about the scribus-commit
mailing list