]> Pileus Git - grits/blobdiff - src/roam.c
Fix compiler warnings
[grits] / src / roam.c
index 3de5b5b7258ea938116827bf815ac2a1b5fee66e..6694026a10e320b75be2b3ce683933d215ef3784 100644 (file)
@@ -84,13 +84,6 @@ RoamPoint *roam_point_new(gdouble lat, gdouble lon, gdouble elev)
        return point;
 }
 
        return point;
 }
 
-static RoamPoint *roam_point_dup(RoamPoint *point)
-{
-       RoamPoint *new = g_memdup(point, sizeof(RoamPoint));
-       new->tris = 0;
-       return new;
-}
-
 /**
  * roam_point_add_triangle:
  * @point:    the point
 /**
  * roam_point_add_triangle:
  * @point:    the point