Permalink
Browse files

Remove msRestoreOldFilter() that is no longer used

  • Loading branch information...
rouault committed Jun 15, 2016
1 parent 3e08ab9 commit d2d392102f27a494e9313d9f1b902288bc954cc8
Showing with 0 additions and 19 deletions.
  1. +0 −19 mapquery.c
@@ -576,25 +576,6 @@ int msQueryByIndex(mapObj *map)
return(MS_SUCCESS);
}
void msRestoreOldFilter(layerObj *lp, int old_filtertype, char *old_filteritem, char *old_filterstring)
{
msFreeExpression(&(lp->filter));
if(lp->filteritem) {
free(lp->filteritem);
lp->filteritem = NULL;
lp->filteritemindex = -1;
}
/* restore any previously defined filter */
if(old_filterstring) {
lp->filter.type = old_filtertype;
lp->filter.string = old_filterstring;
if(old_filteritem) {
lp->filteritem = old_filteritem;
}
}
}
static char *filterTranslateToLogical(expressionObj *filter, char *filteritem) {
char *string = NULL;

0 comments on commit d2d3921

Please sign in to comment.