commit e6a7da3b222e1615e02e92ed5ac91bee5cb50acc
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Fri Mar 5 11:54:11 2021 +0100
Fix warning when not using Qt regexps
---
src/lyxfind.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp
index d1c91c5..2d6aea0 100644
--- a/src/lyxfind.cpp
+++ b/src/lyxfind.cpp
@@ -3225,6 +3225,7 @@ void MatchStringAdv::CreateRegexp(FindAndReplaceOptions
const & opt, string rege
regexError += "Invalid regexp2 \"" + regexp2_str + "\",
error = " + regexp2.errorString().toStdString();
}
#else
+ (void)par_as_string;
if (opt.casesensitive) {
regexp = regex(regexp_str);
regexp2 = regex(regexp2_str);
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs