Fix warning

This commit is contained in:
Nyall Dawson 2015-02-18 20:19:11 +11:00
parent 1e97b62cf9
commit 0df6dee839

View File

@ -191,7 +191,7 @@ QgsProperty *addKey_( QString const &scope,
return currentProperty;
}
else if ( nextProperty = currentProperty->find( keySequence.first() ) )
else if (( nextProperty = currentProperty->find( keySequence.first() ) ) )
{
currentProperty = dynamic_cast<QgsPropertyKey*>( nextProperty );
@ -206,7 +206,7 @@ QgsProperty *addKey_( QString const &scope,
}
else // the next subkey doesn't exist, so add it
{
if ( newPropertyKey = currentProperty->addKey( keySequence.first() ) )
if (( newPropertyKey = currentProperty->addKey( keySequence.first() ) ) )
{
currentProperty = newPropertyKey;
}