[postgis-tickets] [PostGIS] #3964: Unused variables in recent raster code

PostGIS trac at osgeo.org
Thu Dec 28 21:15:30 PST 2017


#3964: Unused variables in recent raster code
--------------------+---------------------------
 Reporter:  robe    |      Owner:  Bborie Park
     Type:  defect  |     Status:  new
 Priority:  medium  |  Milestone:  PostGIS 2.5.0
Component:  raster  |    Version:  trunk
 Keywords:          |
--------------------+---------------------------
 dustymugs,

 Assume these are result of your recent changes.  Welcome back :)

 Dronie and Gitlab Ci have adopted the same anal retentive mindset as their
 faster.  Soo you must now not have unused variables lying around, lest you
 get cursed by them and eventually their father may notice and come after
 you.


 {{{
 rt_raster.c: In function 'rt_raster_gdal_drivers':
 rt_raster.c:1721:14: error: unused variable 'is_raster' [-Werror=unused-
 variable]
   const char *is_raster;
               ^
 cc1: all warnings being treated as errors
 make[2]: Leaving directory
 `/drone/src/git.osgeo.org/gogs/postgis/postgis/raster/rt_core'
 make[1]: Leaving directory
 `/drone/src/git.osgeo.org/gogs/postgis/postgis/raster'
 make[2]: *** [rt_raster.o] Error 1
 make[1]: *** [corelib] Error 2
 make: *** [all] Error 1
 }}}

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3964>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list