mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
remove unused report_error() function
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
1a8b0f99a7
commit
d18fbf40cc
1 changed files with 0 additions and 9 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue