mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-19 21:23:54 +00:00
silence operator precedence warning
This commit is contained in:
parent
8dc081a60d
commit
fea7e68fe9
1 changed files with 1 additions and 1 deletions
|
@ -368,7 +368,7 @@ namespace Compiler
|
||||||
{
|
{
|
||||||
if (mIgnoreNewline)
|
if (mIgnoreNewline)
|
||||||
mErrorHandler.warning ("string contains newline character, make sure that it is intended", mLoc);
|
mErrorHandler.warning ("string contains newline character, make sure that it is intended", mLoc);
|
||||||
else if (name.size() == 1 || name.size() == 2 && name[1] == '\r')
|
else if (name.size() == 1 || (name.size() == 2 && name[1] == '\r'))
|
||||||
{
|
{
|
||||||
name.clear();
|
name.clear();
|
||||||
mLoc.mLiteral.clear();
|
mLoc.mLiteral.clear();
|
||||||
|
|
Loading…
Reference in a new issue