Silence warning from clang
authorBradley T. Hughes <bradley.hughes@nokia.com>
Tue, 25 Oct 2011 11:29:09 +0000 (13:29 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 25 Oct 2011 20:14:10 +0000 (22:14 +0200)
commit87b1ca756c589bbc679ac7e31f7d0d9704a0b064
tree4e825b866f1487052a124102e42c352a6f74c49b
parent15a2ed4e1db4409a05bb31993156455e35a40991
Silence warning from clang

../../corelib/tools/qlocale_mac.mm:78:13: warning: '&&' within '||'
      [-Wlogical-op-parentheses]
  ...&& !qt_splitLocaleName(QString::fromLocal8Bit(result), lang, script, cntry)...
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../corelib/tools/qlocale_mac.mm:78:13: note: place parentheses around the
      '&&' expression to silence this warning
            && !qt_splitLocaleName(QString::fromLocal8Bit(result), ...
            ^

Change-Id: I64f745e7dfa64f28f264667372ed64f9e34ca3b7
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Thiago Macieira (Intel) <thiago.macieira@intel.com>
src/corelib/tools/qlocale_mac.mm