mirror of https://github.com/JakubMelka/PDF4QT.git
Fix false positive uninintialized member warning
This commit is contained in:
parent
577866aa2f
commit
7ab77c582b
|
@ -401,7 +401,7 @@ bool PDFCertificateStore::add(PDFCertificateEntry::EntryType type, PDFCertificat
|
|||
auto it = std::find_if(m_certificates.cbegin(), m_certificates.cend(), [&info](const auto& entry) { return entry.info == info; });
|
||||
if (it == m_certificates.cend())
|
||||
{
|
||||
m_certificates.push_back({ type, qMove(info) });
|
||||
m_certificates.push_back({ type, qMove(info), QByteArray(), QString() });
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue