commit 28f4a39a793d1d4528c49464899160a0a6111fc3
Author: Jean-Marc <[email protected]>
Date:   Sat Sep 12 18:26:24 2015 +0200

    Fix unreachable code
    
    c cannot be \\ at this point.
    
    Coverity issue 23296.

diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed/InsetMathNest.cpp
index 9081021..c17d384 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;

Reply via email to