diff options
author | Slávek Banko <[email protected]> | 2016-09-03 16:55:00 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2016-09-03 16:55:00 +0200 |
commit | 785a180341c7a5200bef31bcebc9851bc63d8ea9 (patch) | |
tree | e191746ace380b9e2e4e311ea89566d02fd2b106 /kregexpeditor | |
parent | e5a3116cffdf87b13912803006311262219aeb7b (diff) | |
download | tdeutils-785a180341c7a5200bef31bcebc9851bc63d8ea9.tar.gz tdeutils-785a180341c7a5200bef31bcebc9851bc63d8ea9.zip |
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'kregexpeditor')
-rw-r--r-- | kregexpeditor/regexpconverter.cpp | 4 |
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. } |