From 75ffcc8e866de04b076c81d78003a86efca98e4e Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Mon, 13 May 2013 20:26:46 +0200 Subject: [PATCH] Initialize BibTeXInfo modifier to zero, always. --- src/BiblioInfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BiblioInfo.h b/src/BiblioInfo.h index 254338b6e9..c4c27e30b0 100644 --- a/src/BiblioInfo.h +++ b/src/BiblioInfo.h @@ -45,10 +45,10 @@ public: /// and the values are the associated field values. typedef std::map::const_iterator const_iterator; /// - BibTeXInfo() : is_bibtex_(true) {} + BibTeXInfo() : is_bibtex_(true), modifier_(0) {} /// argument sets isBibTeX_, so should be false only if it's coming /// from a bibliography environment - BibTeXInfo(bool ib) : is_bibtex_(ib) {} + BibTeXInfo(bool ib) : is_bibtex_(ib), modifier_(0) {} /// constructor that sets the entryType BibTeXInfo(docstring const & key, docstring const & type); /// \return the short form of an authorlist, used for sorting