mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 16:31:13 +00:00
Initialize num_bib_key_
Spotted by Coverity.
This commit is contained in:
parent
44bfdbd5b2
commit
c346de1bd1
@ -49,10 +49,10 @@ public:
|
||||
///
|
||||
typedef std::vector<BibTeXInfo const *> const BibTeXInfoList;
|
||||
///
|
||||
BibTeXInfo() : is_bibtex_(true), modifier_(0) {}
|
||||
BibTeXInfo() : is_bibtex_(true), num_bib_key_(0), modifier_(0) {}
|
||||
/// argument sets isBibTeX_, so should be false only if it's coming
|
||||
/// from a bibliography environment
|
||||
BibTeXInfo(bool ib) : is_bibtex_(ib), modifier_(0) {}
|
||||
BibTeXInfo(bool ib) : is_bibtex_(ib), num_bib_key_(0), modifier_(0) {}
|
||||
/// constructor that sets the entryType
|
||||
BibTeXInfo(docstring const & key, docstring const & type);
|
||||
/// \return an author or editor list (short form by default),
|
||||
|
Loading…
Reference in New Issue
Block a user