diff --git a/CHANGES.md b/CHANGES.md index 9748cac2d..302a8b513 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -14,6 +14,7 @@ - `Cesium3DTilesetSelection::Tileset::getRootTileAvailableEvent` will now resolve even when a `Tileset` is constructed with invalid source parameters, instead of hanging indefinitely. - Fixed compilation error with MSVC when using custom `CesiumITwinClient::PagedList` types. +- Fixed a "maybe uninitialized" error in `GeoJsonDocumentRasterOverlay` signaled by gcc 15.2. ### v0.58.0 - 2026-03-02 diff --git a/CesiumRasterOverlays/src/GeoJsonDocumentRasterOverlay.cpp b/CesiumRasterOverlays/src/GeoJsonDocumentRasterOverlay.cpp index d1dd04b6c..e4c673f12 100644 --- a/CesiumRasterOverlays/src/GeoJsonDocumentRasterOverlay.cpp +++ b/CesiumRasterOverlays/src/GeoJsonDocumentRasterOverlay.cpp @@ -407,7 +407,7 @@ void addPrimitivesToData( const VectorStyle& style, const Ellipsoid& ellipsoid) { std::optional rect; - double maxLineWidthPixels; + double maxLineWidthPixels = 0.0; std::visit( RectangleAndLineWidthFromObjectVisitor{ rect,