Commit bec975ae authored by Darafei Praliaskouski's avatar Darafei Praliaskouski

rtpg_mapalgebra.c: fix GCC7 warnings.



git-svn-id: http://svn.osgeo.org/postgis/trunk@16770 b70326c6-7e19-0410-871a-916f4a2858ee
parent 88c3bd9a
Pipeline #30070815 (#2706) passed with stage
in 22 minutes and 52 seconds
......@@ -871,10 +871,8 @@ Datum RASTER_nMapAlgebra(PG_FUNCTION_ARGS)
i = arg->numraster - 1;
break;
case ET_SECOND:
if (arg->numraster > 1) {
i = 1;
break;
}
i = (arg->numraster > 1) ? 1 : 0;
break;
default:
i = 0;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment