Avoid warnings when compiling bootstrap library without zstd
Change-Id: Ic67cd2b582df0464a17f6181157ebbd47986114c Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
ab1904363a
commit
8a4f252644
@ -470,6 +470,10 @@ qint64 QResourcePrivate::uncompressedSize() const
|
||||
qsizetype QResourcePrivate::decompress(char *buffer, qsizetype bufferSize) const
|
||||
{
|
||||
Q_ASSERT(data);
|
||||
#if defined(QT_NO_COMPRESS) && !QT_CONFIG(zstd)
|
||||
Q_UNUSED(buffer);
|
||||
Q_UNUSED(bufferSize);
|
||||
#endif
|
||||
|
||||
switch (compressionAlgo) {
|
||||
case QResource::NoCompression:
|
||||
|
Loading…
Reference in New Issue
Block a user