Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compiler warnings introduced recently in master
Fixes: ``` /home/even/qgis/qgis/src/core/symbology/qgsmapinfosymbolconverter.cpp: In static member function ‘static QgsMarkerSymbol* QgsMapInfoSymbolConverter::convertMarkerSymbol(int, QgsMapInfoSymbolConversionContext&, const QColor&, double, QgsUnitTypes::RenderUnit)’: /home/even/qgis/qgis/src/core/symbology/qgsmapinfosymbolconverter.cpp:1521:61: warning: ‘shape’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1521 | if ( isFilled && QgsSimpleMarkerSymbolLayer::shapeIsFilled( shape ) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /home/even/qgis/qgis/src/core/qgsogrutils.cpp: In static member function ‘static std::unique_ptr<QgsSymbol> QgsOgrUtils::symbolFromStyleString(const QString&, QgsSymbol::SymbolType)’: /home/even/qgis/qgis/src/core/qgsogrutils.cpp:1585:65: warning: ‘shape’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1585 | if ( isFilled && QgsSimpleMarkerSymbolLayer::shapeIsFilled( shape ) ) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ```
- Loading branch information