mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
Fix unreachable code
c cannot be \\ at this point. Coverity issue 23296.
This commit is contained in:
parent
c671740d83
commit
28f4a39a79
@ -1813,9 +1813,6 @@ bool InsetMathNest::interpretChar(Cursor & cur, char_type const c)
|
||||
// These should be treated differently when not in text mode:
|
||||
if (cur.inRegexped()) {
|
||||
switch (c) {
|
||||
case '\\':
|
||||
cur.niceInsert(createInsetMath("backslash", buf));
|
||||
break;
|
||||
case '^':
|
||||
cur.niceInsert(createInsetMath("mathcircumflex", buf));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user