commit 9d49f09bcf1061103c3dfafaac245bb45de9dcf2
Author: Richard Heck <[email protected]>
Date: Sat Jun 11 22:59:01 2016 -0400
Add comment about coverity #23335.
diff --git a/src/Trans.cpp b/src/Trans.cpp
index 9249e8e..ed73c77 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);
}