[mapserver-commits] r10538 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Wed Sep 29 17:36:25 EDT 2010
Author: warmerdam
Date: 2010-09-29 21:36:25 +0000 (Wed, 29 Sep 2010)
New Revision: 10538
Modified:
trunk/mapserver/mapgd2.c
trunk/mapserver/mapproject.c
Log:
avoid warnings
Modified: trunk/mapserver/mapgd2.c
===================================================================
--- trunk/mapserver/mapgd2.c 2010-09-29 20:56:54 UTC (rev 10537)
+++ trunk/mapserver/mapgd2.c 2010-09-29 21:36:25 UTC (rev 10538)
@@ -37,10 +37,10 @@
#define MS_IMAGE_GET_GDIMAGEPTR(image) ((gdImagePtr) image->img.plugin)
-void startNewLayerGD(imageObj *img, double opacity) {
+void startNewLayerGD(imageObj *img, layerObj *layer, double opacity) {
}
-void closeNewLayerGD(imageObj *img, double opacity) {
+void closeNewLayerGD(imageObj *img, layerObj *layer, double opacity) {
}
/*
Modified: trunk/mapserver/mapproject.c
===================================================================
--- trunk/mapserver/mapproject.c 2010-09-29 20:56:54 UTC (rev 10537)
+++ trunk/mapserver/mapproject.c 2010-09-29 21:36:25 UTC (rev 10538)
@@ -656,7 +656,7 @@
/************************************************************************/
/* msProjectRectTraditionalEdge() */
/************************************************************************/
-
+#ifdef notdef
static int
msProjectRectTraditionalEdge(projectionObj *in, projectionObj *out,
rectObj *rect)
@@ -743,6 +743,7 @@
return(MS_FAILURE);
#endif
}
+#endif /* def notdef */
/************************************************************************/
/* msProjectRectAsPolygon() */
More information about the mapserver-commits
mailing list