mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Add comment for coverity, fixing #23307.
This commit is contained in:
parent
355395174b
commit
edefef17b5
@ -3962,6 +3962,9 @@ void GuiView::dispatch(FuncRequest const & cmd, DispatchResult & dr)
|
||||
break;
|
||||
|
||||
case LFUN_FORWARD_SEARCH: {
|
||||
// it seems safe to assume we have a document buffer, since
|
||||
// getStatus wants one.
|
||||
// coverity[FORWARD_NULL]
|
||||
Buffer const * doc_master = doc_buffer->masterBuffer();
|
||||
FileName const path(doc_master->temppath());
|
||||
string const texname = doc_master->isChild(doc_buffer)
|
||||
|
Loading…
Reference in New Issue
Block a user