]> git.lyx.org Git - lyx.git/commitdiff
Comment out unused functions to restore -Werror
authorScott Kostyshak <skostysh@lyx.org>
Sun, 28 Oct 2018 00:46:54 +0000 (20:46 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sun, 28 Oct 2018 00:59:26 +0000 (20:59 -0400)
This commit restores compilation with -Werror and g++ version 7.3.0.

Consistent with 6dc450bc.

src/lyxfind.cpp

index 87a57b8b5677c32f94dbc00af4a16674bb297362..c53754303f2aeaa16032d4a2b38671bd5ea33c59 100644 (file)
@@ -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: