diff --git a/autotest/cpp/test_gdal_algorithm.cpp b/autotest/cpp/test_gdal_algorithm.cpp index 21fa0f5a963d..6174c5826c85 100644 --- a/autotest/cpp/test_gdal_algorithm.cpp +++ b/autotest/cpp/test_gdal_algorithm.cpp @@ -501,7 +501,7 @@ TEST_F(test_gdal_algorithm, wrong_long_name_dash) }; MyAlgorithm alg; - alg.Run(); + CPL_IGNORE_RET_VAL(alg.Run()); } TEST_F(test_gdal_algorithm, wrong_long_name_contains_equal)