summaryrefslogtreecommitdiffstats
path: root/kregexpeditor
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 16:55:00 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-03 16:55:11 +0200
commita11d0b82f87d7342f3f6213d678c166d4964be88 (patch)
tree630608370225423ef8e317c58949e99ef03c9de3 /kregexpeditor
parent03af0c40cb19e918d73b861a273f8659a1ed8604 (diff)
downloadtdeutils-a11d0b82f87d7342f3f6213d678c166d4964be88.tar.gz
tdeutils-a11d0b82f87d7342f3f6213d678c166d4964be88.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 785a180341c7a5200bef31bcebc9851bc63d8ea9)
Diffstat (limited to 'kregexpeditor')
-rw-r--r--kregexpeditor/regexpconverter.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/kregexpeditor/regexpconverter.cpp b/kregexpeditor/regexpconverter.cpp
index 0010102..94b21e0 100644
--- a/kregexpeditor/regexpconverter.cpp
+++ b/kregexpeditor/regexpconverter.cpp
@@ -33,7 +33,9 @@
RegExpConverter* RegExpConverter::_current = 0;
RegExp* RegExpConverter::parse( const TQString&, bool* ok )
{
- ok = false;
+ if(ok) {
+ *ok = false;
+ }
return new DotRegExp( false ); // This method should never be called.
}