diff --git a/src/core/qcorecommon_p.h b/src/core/qcorecommon_p.h index 298b6f042..6d80a2120 100644 --- a/src/core/qcorecommon_p.h +++ b/src/core/qcorecommon_p.h @@ -7,8 +7,6 @@ # include #endif -#include - 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) {