X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FTrans.cpp;h=ed73c7719b397699db193c51efc127059df18577;hb=0c7bd9a57f2a308bb9659200eda3b7e45f8d5d3c;hp=9249e8e8d4e00acb814e07c4b038ae309f672f06;hpb=8a047a411235fcf5ba48f075e0a23a7cf1e3e8bb;p=lyx.git diff --git a/src/Trans.cpp b/src/Trans.cpp index 9249e8e8d4..ed73c7719b 100644 --- a/src/Trans.cpp +++ b/src/Trans.cpp @@ -287,6 +287,10 @@ int Trans::load(Lexer & lex) allowed = lex.getDocString(); LYXERR(Debug::KBMAP, "allowed: " << to_utf8(allowed)); + // FIXME Coverity + // This is being flagged because we could in principle fail + // ever to hit the break above, in which case we exit the loop + // when it == end. Then this crashes. insertException(kmod_list_[accent_1].exception_list, it->first, allowed, true, accent_2); }