Fix unreachable code

c cannot be \\ at this point.

Coverity issue 23296.
This commit is contained in:
Jean-Marc 2015-09-12 18:26:24 +02:00
parent c671740d83
commit 28f4a39a79

View File

@ -1813,9 +1813,6 @@ bool InsetMathNest::interpretChar(Cursor & cur, char_type const c)
// These should be treated differently when not in text mode: // These should be treated differently when not in text mode:
if (cur.inRegexped()) { if (cur.inRegexped()) {
switch (c) { switch (c) {
case '\\':
cur.niceInsert(createInsetMath("backslash", buf));
break;
case '^': case '^':
cur.niceInsert(createInsetMath("mathcircumflex", buf)); cur.niceInsert(createInsetMath("mathcircumflex", buf));
break; break;