commit acebea065543724894c261511777d5aa5263d375
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Sat Sep 12 22:24:50 2015 +0200

    Annotate missing breaks in switch for coverity
    
    Coverity issues 102057 and 102060.

diff --git a/src/mathed/InsetMathGrid.cpp b/src/mathed/InsetMathGrid.cpp
index 7676420..7fc7737 100644
--- a/src/mathed/InsetMathGrid.cpp
+++ b/src/mathed/InsetMathGrid.cpp
@@ -1659,6 +1659,7 @@ void InsetMathGrid::doDispatch(Cursor & cur, FuncRequest 
& cmd)
        case LFUN_WORD_BACKWARD:
        case LFUN_WORD_LEFT:
                cur.screenUpdateFlags(Update::Decoration | Update::FitCursor);
+               // fall through
        case LFUN_LINE_BEGIN_SELECT:
        case LFUN_WORD_BACKWARD_SELECT:
        case LFUN_WORD_LEFT_SELECT:
@@ -1684,6 +1685,7 @@ void InsetMathGrid::doDispatch(Cursor & cur, FuncRequest 
& cmd)
        case LFUN_WORD_RIGHT:
        case LFUN_LINE_END:
                cur.screenUpdateFlags(Update::Decoration | Update::FitCursor);
+               // fall through
        case LFUN_WORD_FORWARD_SELECT:
        case LFUN_WORD_RIGHT_SELECT:
        case LFUN_LINE_END_SELECT:

Reply via email to