Commit 6e07c0b9 authored by Harald Sitter's avatar Harald Sitter 🏳️‍🌈
Browse files

mtp: silence warnings about uninitialized members

they are in fact initalized by setStorageProperties
parent 807162f3
Pipeline #213956 passed with stage
in 2 minutes and 57 seconds
......@@ -95,10 +95,10 @@ private:
const QString m_dbusObjectPath;
// LIBMTP_devicestorage_t properties
quint32 m_id; /**< Unique ID for this storage */
quint64 m_maxCapacity; /**< Maximum capability */
quint64 m_freeSpaceInBytes; /**< Free space in bytes */
QString m_description; /**< A brief description of this storage */
quint32 m_id = 0; /**< Unique ID for this storage */
quint64 m_maxCapacity = 0; /**< Maximum capability */
quint64 m_freeSpaceInBytes = 0; /**< Free space in bytes */
QString m_description; /**< A brief description of this storage */
QHash<QString, QPair<QDateTime, uint32_t> > m_cache;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment