commit bceb2390b473db347b72f9fc16f63a60223daa9d Author: Scott Kostyshak <skost...@lyx.org> Date: Sat Oct 27 20:46:54 2018 -0400
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 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index 87a57b8..c537543 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: