diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2014-11-03 17:18:55 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2014-11-03 19:13:54 +0100 |
commit | eab4bd5cee2faa78962184f7c04b03ec3383e3c7 (patch) | |
tree | 42befac439d126f6365e56b78314b64812dd460f /qmake | |
parent | c4cfe9091e4f2e4b3054718a4b876413b48e1563 (diff) |
Fix a fatal Clang warning on Linux
Two fromstrerror_helper overloads are defined, to manage the fact that
strerror_r returns an int or a char* depending on the system. The problem
is that then only one overload used (again, depending on the actual
stderror_r return type), leading to one of the two overload to be unused
and thus triggering the unused function warning.
kernel/qsystemerror.cpp:64:27: error: unused function 'fromstrerror_helper' [-Werror,-Wunused-function]
static inline QString fromstrerror_helper(int, const QByteArray &buf)
Change-Id: I6a1c8e1a4b7d14068b682db26002ff68ad36167c
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions