From bceb2390b473db347b72f9fc16f63a60223daa9d Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Sat, 27 Oct 2018 20:46:54 -0400 Subject: [PATCH] Comment out unused functions to restore -Werror This commit restores compilation with -Werror and g++ version 7.3.0. Consistent with 6dc450bc. --- src/lyxfind.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index 87a57b8b56..c53754303f 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -1155,6 +1155,7 @@ bool IgnoreFormats::ignoreFrontMatter= true; bool IgnoreFormats::ignoreColor = false; bool IgnoreFormats::ignoreLanguage = false; +#if 0 void IgnoreFormats::setIgnoreFormat(string type, bool value) { if (type == "color") { @@ -1191,11 +1192,14 @@ void IgnoreFormats::setIgnoreFormat(string type, bool value) ignoreStrikeOut = value; } } +#endif +#if 0 void setIgnoreFormat(string type, bool value) { IgnoreFormats().setIgnoreFormat(type, value); } +#endif class LatexInfo { private: