Permalink
Browse files

move unnecessary global variables ordinates_tdo, ordinates into the o…

…nly function where they were used
  • Loading branch information...
1 parent caafcaa commit e1e319e3eb1a34eedeb76b5970231734fdd6f7c7 @unicolet unicolet committed Aug 13, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 maporaclespatial.c
View
@@ -164,8 +164,6 @@ struct {
} msOracleSpatialLayerInfo;
-static OCIType *ordinates_tdo = NULL;
-static OCIArray *ordinates;
@@ -1815,6 +1813,8 @@ int msOracleSpatialLayerWhichShapes( layerObj *layer, rectObj rect, int isQuery)
OCIDefine **items = NULL;
OCINumber oci_number;
OCIBind *bnd1p = NULL, *bnd2p = NULL;
+ OCIType *ordinates_tdo = NULL;
+ OCIArray *ordinates = NULL;
int existunique = MS_FALSE;
int rownumisuniquekey = MS_FALSE;

0 comments on commit e1e319e

Please sign in to comment.