Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QgsRasterLayerZonalStatsAlgorithm::processAlgorithm(): fix (likely fa…
…lse positive) nullPointer cppcheck warning cppcheck warned about potential null pointer dereference of rasterBlock and zonesRasterBlock at line 242 ``` if ( !rasterBlock->isValid() || rasterBlock->isEmpty() || !zonesRasterBlock->isValid() || zonesRasterBlock->isEmpty() ) ``` It is likely that the logic about correctly prevented those null pointer from arising, but this wasn't immediately obvious. Make it so
- Loading branch information
Showing with 2 additions and 4 deletions.