mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
Fix warning
This commit is contained in:
parent
1e97b62cf9
commit
0df6dee839
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user