Permalink
Browse files

variable declaration

  • Loading branch information...
1 parent 3b978db commit 24105e2206b4855a62bf57aab1a5ad4ead3e0f9c @tbonfort tbonfort committed Jul 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mapwms.c
View
@@ -3618,10 +3618,10 @@ int msTranslateWMS2Mapserv(const char **names, const char **values, int numentri
}
free(layers);
} else if (strcasecmp("BBOX", names[i]) == 0) {
+ char *imgext;
num_allocated++;
*translated_names = (char**)msSmallRealloc(*translated_names, num_allocated * sizeof(char*));
*translated_values = (char**)msSmallRealloc(*translated_values, num_allocated * sizeof(char*));
- char *imgext;
/* Note msReplaceSubstring() works on the string itself, so we need to make a copy */
imgext = msStrdup(values[i]);

0 comments on commit 24105e2

Please sign in to comment.