mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Play again with coverity annotation
The documentation is scarce and it is difficult to see what notation is right.
This commit is contained in:
parent
f14ce3f2ef
commit
ba39d2de04
@ -70,7 +70,7 @@ InsetBibitem::~InsetBibitem()
|
|||||||
if (isBufferLoaded())
|
if (isBufferLoaded())
|
||||||
/* Coverity believes that this may throw an exception, but
|
/* Coverity believes that this may throw an exception, but
|
||||||
* actually this code path is not taken when buffer_ == 0 */
|
* actually this code path is not taken when buffer_ == 0 */
|
||||||
// coverity[exn_spec_violation]
|
// coverity[fun_call_w_exception]
|
||||||
buffer().invalidateBibinfoCache();
|
buffer().invalidateBibinfoCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -70,9 +70,9 @@ InsetBibtex::~InsetBibtex()
|
|||||||
if (isBufferLoaded()) {
|
if (isBufferLoaded()) {
|
||||||
/* Coverity believes that this may throw an exception, but
|
/* Coverity believes that this may throw an exception, but
|
||||||
* actually this code path is not taken when buffer_ == 0 */
|
* actually this code path is not taken when buffer_ == 0 */
|
||||||
// coverity[exn_spec_violation]
|
// coverity[fun_call_w_exception]
|
||||||
buffer().invalidateBibfileCache();
|
buffer().invalidateBibfileCache();
|
||||||
// coverity[exn_spec_violation]
|
// coverity[fun_call_w_exception]
|
||||||
buffer().removeBiblioTempFiles();
|
buffer().removeBiblioTempFiles();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -57,7 +57,7 @@ InsetCitation::~InsetCitation()
|
|||||||
if (isBufferLoaded())
|
if (isBufferLoaded())
|
||||||
/* Coverity believes that this may throw an exception, but
|
/* Coverity believes that this may throw an exception, but
|
||||||
* actually this code path is not taken when buffer_ == 0 */
|
* actually this code path is not taken when buffer_ == 0 */
|
||||||
// coverity[exn_spec_violation]
|
// coverity[fun_call_w_exception]
|
||||||
buffer().removeBiblioTempFiles();
|
buffer().removeBiblioTempFiles();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user