Remove last compile warnings.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 23 Feb 2010 22:18:15 +0000 (22:18 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 23 Feb 2010 22:18:15 +0000 (22:18 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5333 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/cunit/cu_geodetic.c
liblwgeom/cunit/cu_tester.c
liblwgeom/cunit/cu_tester.h

index a44165c9812b88a4c8a0f942666f053fb8865927..688bd5bc2158a2982a97c9f0692cd58f0610a765 100644 (file)
@@ -33,7 +33,6 @@ static void edge_deg2rad(GEOGRAPHIC_EDGE *e)
 
 /**
 * Convert an edge from radians to degrees.
-*/
 static void edge_rad2deg(GEOGRAPHIC_EDGE *e)
 {
        (e->start).lat = rad2deg((e->start).lat);
@@ -41,6 +40,7 @@ static void edge_rad2deg(GEOGRAPHIC_EDGE *e)
        (e->start).lon = rad2deg((e->start).lon);
        (e->end).lon = rad2deg((e->end).lon);
 }
+*/
 
 /**
 * Convert a point from degrees to radians.
index 277f06b76c59eca8c0ad6095214c02054e3ecdd7..d26751a605ac331ab3c629eba101db07a2df62b9 100644 (file)
@@ -58,7 +58,6 @@ int main(int argc, char *argv[])
        CU_pSuite suite_to_run;
        char *test_name;
        CU_pTest test_to_run;
-       void *dl_handle;
        CU_ErrorCode errCode;
        CU_pTestRegistry registry;
        int num_run;
index ab0058b1261e753bb506f24ccbf0f03920d2c46f..bf5ff95cfea81a63c4e173ae5e4e935bc183370f 100644 (file)
@@ -1,5 +1,5 @@
 #define PG_TEST(test_func) { #test_func, test_func }
 #define MAX_CUNIT_ERROR_LENGTH 512
 char cu_error_msg[MAX_CUNIT_ERROR_LENGTH+1];
-void cu_error_msg_reset();
+void cu_error_msg_reset(void);