From b7a3b9531c9afdbe5faf90106b792e13a6901ccc Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Thu, 31 Jul 2014 15:12:06 -0400 Subject: [PATCH] fixed non-initialization --- openbr/openbr_plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/openbr_plugin.h b/openbr/openbr_plugin.h index 76566ba..cb31430 100644 --- a/openbr/openbr_plugin.h +++ b/openbr/openbr_plugin.h @@ -174,7 +174,7 @@ struct BR_EXPORT File File(const QString &file) { init(file); } /*!< \brief Construct a file from a string. */ File(const QString &file, const QVariant &label) { init(file); set("Label", label); } /*!< \brief Construct a file from a string and assign a label. */ File(const char *file) { init(file); } /*!< \brief Construct a file from a c-style string. */ - File(const QVariantMap &metadata) : m_metadata(metadata) {} /*!< \brief Construct a file from metadata. */ + File(const QVariantMap &metadata) : fte(false), m_metadata(metadata) {} /*!< \brief Construct a file from metadata. */ inline operator QString() const { return name; } /*!< \brief Returns #name. */ QString flat() const; /*!< \brief A stringified version of the file with metadata. */ QString hash() const; /*!< \brief A hash of the file. */ -- libgit2 0.21.4