[postgis-users] LWGEOM_IN Function - Small performance inprovment.
strk at refractions.net
strk at refractions.net
Tue Jul 19 04:28:23 PDT 2005
Waste cleaned, thanks --strk;
On Tue, Jul 19, 2005 at 04:17:02PM +1200, Ralph Mason wrote:
> Was just having a look at the latest 1.0.2 version.
>
> Noticed some unused code
>
>
> //determine if its WKB or WKT
>
> semicolonLoc = strchr(str,';');
> if (semicolonLoc == NULL)
> {
> start=str[0];
> }
> else
> {
> start=semicolonLoc[1]; // one in
> }
>
>
>
> Start is never used, so I guess that strchr is wasted here.
>
> Regards
> Ralph
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list