Opened 7 years ago

Closed 7 years ago

#3947 closed defect (fixed)

geography warnings

Reported by: robe Owned by: robe
Priority: medium Milestone: PostGIS 2.5.0
Component: postgis Version: master
Keywords: Cc:

Description

geography_measurement.c: In function 'geography_distance':
geography_measurement.c:210:9: error: variable 'tolerance' set but not used [-Werror=unused-but-set-variable]
  double tolerance = 0.0;
         ^
geography_measurement.c: In function 'geography_covers':
geography_measurement.c:740:13: error: variable 'type2' set but not used [-Werror=unused-but-set-variable]
  int type1, type2;
             ^
geography_measurement.c:740:6: error: variable 'type1' set but not used [-Werror=unused-but-set-variable]
  int type1, type2;
      ^

https://gitlab.com/postgis/postgis/-/jobs/45394244

Change History (2)

comment:1 by robe, 7 years ago

Owner: changed from pramsey to robe

comment:2 by robe, 7 years ago

Resolution: fixed
Status: newclosed

In 16174:

Get rid of no longer used variables in geography measurenment
Closes #3947 for PostGIS 2.5 (trunk)

Note: See TracTickets for help on using tickets.