[mapserver-commits] r10350 - sandbox/sdlime/common-expressions/mapserver

svn at osgeo.org svn at osgeo.org
Wed Jul 14 00:46:01 EDT 2010


Author: sdlime
Date: 2010-07-14 04:46:01 +0000 (Wed, 14 Jul 2010)
New Revision: 10350

Modified:
   sandbox/sdlime/common-expressions/mapserver/maplayer.c
Log:
more...

Modified: sandbox/sdlime/common-expressions/mapserver/maplayer.c
===================================================================
--- sandbox/sdlime/common-expressions/mapserver/maplayer.c	2010-07-14 04:25:23 UTC (rev 10349)
+++ sandbox/sdlime/common-expressions/mapserver/maplayer.c	2010-07-14 04:46:01 UTC (rev 10350)
@@ -375,7 +375,7 @@
     case MS_TOKEN_BINDING_TIME: 
       expression->tokens[n].token = token; /* binding type */
       expression->tokens[n].tokenval.bindval.item = strdup(msyytext);
-      expression->tokens[n].tokenval.bindval.index = string2list(list, listsize, msyytext);
+      if(list) expression->tokens[n].tokenval.bindval.index = string2list(list, listsize, msyytext);
       break;
     case MS_TOKEN_BINDING_SHAPE:
       expression->tokens[n].token = token;
@@ -421,7 +421,6 @@
   return MS_SUCCESS;
 
   parse_error:
-  fprintf(stderr, "uh oh...\n");
     msReleaseLock(TLOCK_PARSER);
     return MS_FAILURE;
 }
@@ -436,8 +435,6 @@
   int i, j, k, rv;
   int nt=0;
 
-  printf("in msLayerWhichItems()\n");
-
   if (!layer->vtable) {
     rv =  msInitializeVirtualTable(layer);
     if (rv != MS_SUCCESS) return rv;



More information about the mapserver-commits mailing list