[postgis-tickets] [PostGIS] #3538: Enforcing code style

PostGIS trac at osgeo.org
Thu Apr 28 10:36:22 PDT 2016


#3538: Enforcing code style
----------------------+----------------------------
  Reporter:  strk     |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  Management 2.0
 Component:  postgis  |    Version:  2.2.x
Resolution:           |   Keywords:
----------------------+----------------------------

Comment (by pramsey):

 I think I like mine better
 {{{
 diff --git a/liblwgeom/lwgeom.c b/liblwgeom/lwgeom.c
 index da9dc2a..7461332 100644
 --- a/liblwgeom/lwgeom.c
 +++ b/liblwgeom/lwgeom.c
 @@ -48,8 +48,8 @@ lwgeom_force_clockwise(LWGEOM *lwgeom)
                 lwtriangle_force_clockwise((LWTRIANGLE *)lwgeom);
                 return;

 -               /* Not handle POLYHEDRALSURFACE and TIN
 -                  as they are supposed to be well oriented */
 +       /* Not handle POLYHEDRALSURFACE and TIN
 +          as they are supposed to be well oriented */
         case MULTIPOLYGONTYPE:
         case COLLECTIONTYPE:
                 coll = (LWCOLLECTION *)lwgeom;
 }}}

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3538#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list