mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 11:38:50 -07:00
Initialize pointer to a default value
This commit is contained in:
parent
6de72ecc77
commit
02d906d3ae
77 changed files with 178 additions and 202 deletions
|
@ -76,9 +76,9 @@ namespace Utils::IO
|
|||
}
|
||||
|
||||
private:
|
||||
QFileDevice *m_device;
|
||||
QFileDevice *m_device = nullptr;
|
||||
std::shared_ptr<QByteArray> m_buffer;
|
||||
int m_bufferSize;
|
||||
int m_bufferSize = 0;
|
||||
};
|
||||
|
||||
nonstd::expected<void, QString> saveToFile(const Path &path, const QByteArray &data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue