Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update src/core/qgsgdalutils.cpp
Co-authored-by: Even Rouault <even.rouault@spatialys.com>
  • Loading branch information
2 people authored and github-actions[bot] committed May 24, 2023
1 parent 5a6d32e commit 6e2ea7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsgdalutils.cpp
Expand Up @@ -275,7 +275,7 @@ static bool resampleSingleBandRasterStatic( GDALDatasetH hSrcDS, GDALDatasetH hD
bool retVal = false;
GDALWarpOperation oOperation;
CPLErr initResult = oOperation.Initialize( psWarpOptions.get() );
if ( initResult != CE_Failure && initResult != CE_Fatal )
if ( initResult != CE_Failure )
retVal = oOperation.ChunkAndWarpImage( 0, 0, GDALGetRasterXSize( hDstDS ), GDALGetRasterYSize( hDstDS ) ) == CE_None;
GDALDestroyGenImgProjTransformer( psWarpOptions->pTransformerArg );
return retVal;
Expand Down

0 comments on commit 6e2ea7a

Please sign in to comment.