Fix several warnings

This commit is contained in:
Vort 2023-03-02 12:14:49 +02:00
parent 1b921a2eac
commit 9e0389df1b
3 changed files with 5 additions and 5 deletions

View file

@ -139,7 +139,7 @@ namespace data
if (m_IsDirty) deflateReset (&m_Deflator);
m_IsDirty = true;
size_t offset = 0;
int err;
int err = 0;
for (const auto& it: bufs)
{
m_Deflator.next_in = const_cast<uint8_t *>(it.first);