From: Scott Kostyshak Date: Sun, 28 Oct 2018 00:46:54 +0000 (-0400) Subject: Comment out unused functions to restore -Werror X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2950 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=bceb2390b473db347b72f9fc16f63a60223daa9d;p=lyx.git Comment out unused functions to restore -Werror This commit restores compilation with -Werror and g++ version 7.3.0. Consistent with 6dc450bc. --- 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: