r23123 by jghali - #15764: Fix gcc warning in fparser.cc

scribus-commit scribus-commit at lists.scribus.net
Sat Aug 10 02:24:00 UTC 2019


Author: jghali
Date: Sat Aug 10 02:24:00 2019
New Revision: 23123

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23123
Log:
#15764: Fix gcc warning in fparser.cc

Modified:
    trunk/Scribus/scribus/third_party/fparser/fparser.cc

Modified: trunk/Scribus/scribus/third_party/fparser/fparser.cc
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23123&path=/trunk/Scribus/scribus/third_party/fparser/fparser.cc
==============================================================================
--- trunk/Scribus/scribus/third_party/fparser/fparser.cc	(original)
+++ trunk/Scribus/scribus/third_party/fparser/fparser.cc	Sat Aug 10 02:24:00 2019
@@ -1625,7 +1625,9 @@
               {
                 default:
                 case '+':
-                    if(!is_unary) data->ByteCode.push_back(cAdd); break;
+                    if(!is_unary)
+                        data->ByteCode.push_back(cAdd);
+                    break;
                 case '-':
                     data->ByteCode.push_back(is_unary ? cNeg : cSub); break;
               }




More information about the scribus-commit mailing list