From 28f4a39a793d1d4528c49464899160a0a6111fc3 Mon Sep 17 00:00:00 2001 From: Jean-Marc Date: Sat, 12 Sep 2015 18:26:24 +0200 Subject: [PATCH] Fix unreachable code c cannot be \\ at this point. Coverity issue 23296. --- src/mathed/InsetMathNest.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp index 9081021c5d..c17d384458 100644 --- a/src/mathed/InsetMathNest.cpp +++ b/src/mathed/InsetMathNest.cpp @@ -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;