Skip to content

Commit 25794d4

Browse files
committed
Avoid warning
1 parent 21cfb7d commit 25794d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/core/qgsvectorlayer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2440,6 +2440,8 @@ bool QgsVectorLayer::renameAttribute( int index, const QString& newName )
24402440
return false;
24412441

24422442
}
2443+
2444+
return false; //avoid warning
24432445
}
24442446

24452447
void QgsVectorLayer::addAttributeAlias( int attIndex, const QString& aliasString )

0 commit comments

Comments
 (0)