diff options
author | Andreas Holzammer <andreas.holzammer@kdab.com> | 2012-02-08 16:24:23 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-11 11:05:04 (GMT) |
commit | 2942c08075057982d72076e4fd0c323e523730cb (patch) | |
tree | 7e0d979b865e86b9c400a81aa197a17cf0e9435e /src | |
parent | c03ceb203c65d9e3485fad848bfc0c4b6ee3e9aa (diff) | |
download | Qt-2942c08075057982d72076e4fd0c323e523730cb.zip Qt-2942c08075057982d72076e4fd0c323e523730cb.tar.gz Qt-2942c08075057982d72076e4fd0c323e523730cb.tar.bz2 |
Fixed compiler warning about unused variable with QT_NO_TEXTCODEC.
Task-number: QTBUG-22512
Change-Id: I3a6605ce19ac8def6a4fdfbf2904f7c165cbfc8e
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/io/qsettings.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/io/qsettings.cpp b/src/corelib/io/qsettings.cpp index db2ffad..d7c8c50 100644 --- a/src/corelib/io/qsettings.cpp +++ b/src/corelib/io/qsettings.cpp @@ -790,6 +790,9 @@ bool QSettingsPrivate::iniUnescapedStringList(const QByteArray &str, int from, i QString &stringResult, QStringList &stringListResult, QTextCodec *codec) { +#ifdef QT_NO_TEXTCODE + Q_UNUSED(codec); +#endif static const char escapeCodes[][2] = { { 'a', '\a' }, |