[postgis-tickets] [PostGIS] #2461: cu_measures.c cleanup unused variables

PostGIS trac at osgeo.org
Sat Aug 31 18:32:02 PDT 2013


#2461: cu_measures.c cleanup unused variables
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  low      |   Milestone:  PostGIS 2.1.1
Component:  postgis  |     Version:  2.1.x        
 Keywords:           |  
---------------------+------------------------------------------------------
 I know these aren't real issues, but the warnings are creating noise on my
 compiler output.

 CAn we get rid of these unused variables.


 {{{
 cu_measures.c: In function 'test_lw_dist2d_pt_arc':
 cu_measures.c:447:6: warning: variable 'rv' set but not used [-Wunused-
 but-set-variable]
   int rv;
       ^
 cu_measures.c: In function 'test_lw_dist2d_seg_arc':
 cu_measures.c:507:6: warning: variable 'rv' set but not used [-Wunused-
 but-set-variable]
   int rv;
       ^
 cu_measures.c: In function 'test_lw_dist2d_arc_arc':
 cu_measures.c:580:6: warning: variable 'rv' set but not used [-Wunused-
 but-set-variable]
   int rv;
       ^
 cu_measures.c: In function 'test_lw_dist2d_pt_ptarrayarc':
 cu_measures.c:685:6: warning: variable 'rv' set but not used [-Wunused-
 but-set-variable]
   int rv;
       ^
 cu_measures.c: In function 'test_lw_dist2d_ptarray_ptarrayarc':
 cu_measures.c:759:6: warning: variable 'rv' set but not used [-Wunused-
 but-set-variable]
   int rv;
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2461>
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