diff options
author | Guy Poizat <gerrit.qt@gmail.com> | 2019-10-04 15:46:28 +0200 |
---|---|---|
committer | Guy Poizat <gerrit.qt@gmail.com> | 2019-10-04 16:22:28 +0200 |
commit | 52d8865657cd9a9d62cd120f90ab79036fa3debc (patch) | |
tree | 8ac7339d60e839343e5d1ca44a5fd1f8b955f1d0 | |
parent | 96a20440093aff70e78d01d6f014630bda5b0713 (diff) |
Build fix for -developer-build with certain features disabled
When building with -developer-build the unused-parameter warning is
a build breaker error, but some combinations of -no-features was
still making it happen.
Change-Id: Ib6354e6a599b8d64fd593fb94e9cfa32db63c77d
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
-rw-r--r-- | src/corelib/io/qfilesystemiterator_unix.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/io/qfilesystemiterator_unix.cpp b/src/corelib/io/qfilesystemiterator_unix.cpp index 74b7e820d9..ad6dbaba11 100644 --- a/src/corelib/io/qfilesystemiterator_unix.cpp +++ b/src/corelib/io/qfilesystemiterator_unix.cpp @@ -86,6 +86,8 @@ static bool checkNameDecodable(const char *d_name, qsizetype len) return cs.invalidChars == 0 && cs.remainingChars == 0; #else // if we have no text codecs, then QString::fromLocal8Bit is fromLatin1 + Q_UNUSED(d_name) + Q_UNUSED(len) return true; #endif } |