Silent warning [-Werror=unused-but-set-variable].

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-01-03 11:40:40 +02:00
parent be17f7f30a
commit 73f201303f
2 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,8 @@ void QmuFormulaBase::InitCharSets()
<< "ЭųįҶرҲеԷňعθҺнԿفπÂхՇψÊэšՏÒUəÚѝŻşҤӑâeէŐımկòuշÕúտŔ"; << "ЭųįҶرҲеԷňعθҺнԿفπÂхՇψÊэšՏÒUəÚѝŻşҤӑâeէŐımկòuշÕúտŔ";
INIT_LOCALE_VARIABLES(m_locale); INIT_LOCALE_VARIABLES(m_locale);
Q_UNUSED(expUpper)
Q_UNUSED(expLower)
// Defining identifier character sets // Defining identifier character sets
const QString nameChars = QString() + sign0 + sign1 + sign2 + sign3 + sign4 + sign5 + sign6 + sign7 + sign8 + const QString nameChars = QString() + sign0 + sign1 + sign2 + sign3 + sign4 + sign5 + sign6 + sign7 + sign8 +

View File

@ -52,6 +52,8 @@ void TST_NameRegExp::TestNameRegExp_data()
for(int i = 0; i < allLocales.size(); ++i) for(int i = 0; i < allLocales.size(); ++i)
{ {
INIT_LOCALE_VARIABLES(allLocales.at(i)); INIT_LOCALE_VARIABLES(allLocales.at(i));
Q_UNUSED(expUpper)
Q_UNUSED(expLower)
const QString localeName = allLocales.at(i).name(); const QString localeName = allLocales.at(i).name();
QString tag = localeName+QLatin1String(". First character can't be ")+sign0; QString tag = localeName+QLatin1String(". First character can't be ")+sign0;