Fix "array subscript is above array bounds" gcc build warnings on trunk using a suitable pointer and cast.

git-svn-id: http://svn.osgeo.org/postgis/trunk@11508 b70326c6-7e19-0410-871a-916f4a2858ee
Remove warnings from liblwgeom

These are mostly unused variables

git-svn-id: http://svn.osgeo.org/postgis/trunk@11511 b70326c6-7e19-0410-871a-916f4a2858ee
More unused variables and functions warnings cleaned

git-svn-id: http://svn.osgeo.org/postgis/trunk@11512 b70326c6-7e19-0410-871a-916f4a2858ee
Another couple of warnings gone

git-svn-id: http://svn.osgeo.org/postgis/trunk@11513 b70326c6-7e19-0410-871a-916f4a2858ee
Turn lwgeom_backend_switch into a static function

git-svn-id: http://svn.osgeo.org/postgis/trunk@11517 b70326c6-7e19-0410-871a-916f4a2858ee
Merge remote-tracking branch 'upstream/svn-trunk' into encoded-polyline
fixed typos