]> git.lyx.org Git - features.git/commit
Annotate destructors to please coverity
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 27 Mar 2017 14:18:14 +0000 (16:18 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 31 Mar 2017 08:58:43 +0000 (10:58 +0200)
commite10db6c7dd971f060d1bdeaa16f20f5450e74a9b
tree14d774d2be9418e17c9176fe9aaa02c108f5d6fb
parent0d6c64a4eb0a3b6f1e27ba7fd342bf5cff0314a8
Annotate destructors to please coverity

Coverity flags this code as not handling exception that may happen in buffer().

My own analysis is that this can never happen because isBufferValid()
does check whether buffer_ is null.

Any insght appreciated. The commit should be expeanded to more cases, actually.
src/insets/Inset.h
src/insets/InsetBibitem.cpp
src/insets/InsetBibtex.cpp
src/insets/InsetInclude.cpp