Permalink
Browse files

[OGR] Fix msOGRGetPaging()

  • Loading branch information...
rouault committed Aug 29, 2016
1 parent 892deaf commit e6b66a66e74351e39ddc7d0628df5340aa1ab7b1
Showing with 1 addition and 3 deletions.
  1. +1 −3 mapogr.cpp
View
@@ -4298,8 +4298,6 @@ static void msOGREnablePaging(layerObj *layer, int value)
if (layer->debug) {
msDebug("msOGREnablePaging(%d) called.\n", value);
}
if( value < 0 )
return;
if(!msOGRLayerIsOpen(layer))
msOGRLayerOpenVT(layer);
@@ -4327,7 +4325,7 @@ static int msOGRGetPaging(layerObj *layer)
}
if(!msOGRLayerIsOpen(layer))
return -1;
msOGRLayerOpenVT(layer);
assert( layer->layerinfo != NULL);

0 comments on commit e6b66a6

Please sign in to comment.