diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2019-10-15 10:42:30 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2019-10-15 10:46:06 +0000 |
commit | 0eb4dcad8983e611e064da24e39d341c11e112c5 (patch) | |
tree | cfb39fa9266187ffe329945dedbf5fbba14a16fc /src/corelib | |
parent | 355a00270437d76fb98c14ac672ee662be0c06f5 (diff) |
Fix developer build with -Werror
The group parameter is only used when cross-compiling, mark it as unused
otherwise. This is noticeable in the cmake branch because there we build
qmake with cmake and apply the same warning flags, as opposed to the
bootstrapped qmake build when using ... qmake.
The cache file parameter in qmake is unused and the
mustEnsureWritability is only used on Windows.
Change-Id: I08655d5150f5a967c2340ee7678bad3a4d69914f
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/global/qlibraryinfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp index 2da5861ccf..da122f75e5 100644 --- a/src/corelib/global/qlibraryinfo.cpp +++ b/src/corelib/global/qlibraryinfo.cpp @@ -623,6 +623,8 @@ static const char *getPrefix( # if QT_CONFIGURE_CROSSBUILD if (group == QLibraryInfo::DevicePaths) return QT_CONFIGURE_PREFIX_PATH; +# else + Q_UNUSED(group); # endif static QByteArray extPrefixPath = getExtPrefixFromHostBinDir().toLatin1(); return extPrefixPath.constData(); |