[mapserver-commits] r13067 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Mon Feb 6 15:20:12 EST 2012


Author: tbonfort
Date: 2012-02-06 12:20:12 -0800 (Mon, 06 Feb 2012)
New Revision: 13067

Modified:
   trunk/mapserver/maprendering.c
Log:
fix SVG unused variable warning


Modified: trunk/mapserver/maprendering.c
===================================================================
--- trunk/mapserver/maprendering.c	2012-02-06 20:14:55 UTC (rev 13066)
+++ trunk/mapserver/maprendering.c	2012-02-06 20:20:12 UTC (rev 13067)
@@ -52,7 +52,7 @@
          return (MS_FAILURE);
       }
 
-      if(MS_FAILURE == msFontsetLookupFonts(l->font,&s->numfonts,fontset,&s->fonts)) {
+      if(MS_FAILURE == msFontsetLookupFonts(l->font,&s->numfonts,fontset,s->fonts)) {
          return MS_FAILURE;
       }
    }
@@ -188,7 +188,9 @@
    if(tile==NULL) {
       imageObj *tileimg;
       double p_x,p_y;
+#ifdef USE_SVG_CAIRO
       double scale, rotation;
+#endif
       tileimg = msImageCreate(width,height,img->format,NULL,NULL,img->resolution, img->resolution, NULL);
       if(!seamlessmode) {
          p_x = width/2.0;



More information about the mapserver-commits mailing list