The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit 75ffcc8e866de04b076c81d78003a86efca98e4e
Author: Julien Rioux <[email protected]>
Date:   Mon May 13 20:26:46 2013 +0200

    Initialize BibTeXInfo modifier to zero, always.

diff --git a/src/BiblioInfo.h b/src/BiblioInfo.h
index 254338b..c4c27e3 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<docstring, docstring>::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

-----------------------------------------------------------------------

Summary of changes:
 src/BiblioInfo.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository

Reply via email to