Fix missing break in switch

Fixes coverity issue 23350.
This commit is contained in:
Jean-Marc 2015-03-04 22:13:20 +01:00
parent 9448e89879
commit fac7cb922a

View File

@ -1112,13 +1112,13 @@ bool BufferView::getStatus(FuncRequest const & cmd, FuncStatus & flag)
iss >> opt; iss >> opt;
flag.setEnabled(opt.repl_buf_name.empty() flag.setEnabled(opt.repl_buf_name.empty()
|| !buffer_.isReadonly()); || !buffer_.isReadonly());
break;
} }
case LFUN_LABEL_GOTO: { case LFUN_LABEL_GOTO:
flag.setEnabled(!cmd.argument().empty() flag.setEnabled(!cmd.argument().empty()
|| getInsetByCode<InsetRef>(cur, REF_CODE)); || getInsetByCode<InsetRef>(cur, REF_CODE));
break; break;
}
case LFUN_CHANGES_TRACK: case LFUN_CHANGES_TRACK:
flag.setEnabled(true); flag.setEnabled(true);