OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc18a66
)
remove now unused report_error()
author
Ivailo Monev
<xakepa10@laimg.moc>
Tue, 2 Jul 2019 21:51:24 +0000
(21:51 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Tue, 2 Jul 2019 21:51:24 +0000
(21:51 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/core/qcorecommon_p.h
patch
|
blob
|
history
diff --git
a/src/core/qcorecommon_p.h
b/src/core/qcorecommon_p.h
index
1d8544b
..
4790298
100644
(file)
--- a/
src/core/qcorecommon_p.h
+++ b/
src/core/qcorecommon_p.h
@@
-25,12
+25,6
@@
static inline QString fromstrerror_helper(const char *str, const QByteArray &)
}
#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)));
-}
-
QT_END_NAMESPACE
#endif // QCORECOMMON_P_H