remove unused report_error() function

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
Ivailo Monev 2020-01-07 15:48:31 +00:00
parent 1a8b0f99a7
commit d18fbf40cc

View file

@ -7,8 +7,6 @@
# include <zlib.h>
#endif
#include <string.h>
QT_BEGIN_NAMESPACE
// enough space to hold BOM, each char as surrogate pair and terminator
@ -35,13 +33,6 @@ static inline QString fromstrerror_helper(const int errorcode)
#endif
}
static inline void report_error(int code, const char *where, const char *what)
{
if (code != 0)
qWarning("%s: %s failure: %s", where, what, qPrintable(qt_error_string(code)));
}
#ifndef QT_NO_COMPRESS
static inline quint32 qCRC32(const char *data, uint len)
{