mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
Initialize Buffer::Impl members correctly
In practice the variables were initialized later as needed. Fixes coverity issue 23497.
This commit is contained in:
parent
1d2b7fb1ec
commit
0552563c99
@ -385,9 +385,10 @@ Buffer::Impl::Impl(Buffer * owner, FileName const & file, bool readonly_,
|
||||
file_fully_loaded(false), ignore_parent(false), toc_backend(owner),
|
||||
macro_lock(false), timestamp_(0), checksum_(0), wa_(0), gui_(0),
|
||||
undo_(*owner), bibinfo_cache_valid_(false), bibfile_cache_valid_(false),
|
||||
cite_labels_valid_(false), preview_loader_(0),
|
||||
cite_labels_valid_(false), inset(0), preview_loader_(0),
|
||||
cloned_buffer_(cloned_buffer), clone_list_(0),
|
||||
doing_export(false), parent_buffer(0)
|
||||
doing_export(false), parent_buffer(0),
|
||||
word_count_(0), char_count_(0), blank_count_(0)
|
||||
{
|
||||
if (!cloned_buffer_) {
|
||||
temppath = createBufferTmpDir();
|
||||
|
Loading…
Reference in New Issue
Block a user