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:
|
// 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user