]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalTemplate.cpp
Fix crash on recursive include (bug #8994)
[lyx.git] / src / insets / ExternalTemplate.cpp
index de3eee6e59cb9773c3e4ce2f12f4addb76dbe09f..db12e68b8cb56c1ed97c283706cc2bc76cfad264 100644 (file)
@@ -386,12 +386,6 @@ void Template::readTemplate(Lexer & lex)
 
                case TO_END:
                        return;
-
-               default:
-                       lex.printError("external::Template::readTemplate: "
-                                      "Wrong tag: $$Token");
-                       LASSERT(false, /**/);
-                       break;
                }
        }
 }