Revision: 49040
          http://brlcad.svn.sourceforge.net/brlcad/?rev=49040&view=rev
Author:   erikgreenwald
Date:     2012-01-24 18:25:09 +0000 (Tue, 24 Jan 2012)
Log Message:
-----------
Block around decls. Hoist decls to beginning of blocks.

Modified Paths:
--------------
    brlcad/trunk/src/libgcv/test_bottess.c

Modified: brlcad/trunk/src/libgcv/test_bottess.c
===================================================================
--- brlcad/trunk/src/libgcv/test_bottess.c      2012-01-24 17:49:00 UTC (rev 
49039)
+++ brlcad/trunk/src/libgcv/test_bottess.c      2012-01-24 18:25:09 UTC (rev 
49040)
@@ -120,8 +120,8 @@
           {                                                             \
             point_t isectpt[2];                                         \
             int urf[_nsplt+1];                                          \
+            unsigned long int failure = 0, numsplit = _nsplt;           \
             for (i = 0; i < _nsplt + 1; ++i) urf[i] = 0;                \
-            unsigned long int failure = 0, numsplit = _nsplt;           \
             tcount++;                                                   \
             VSET(isectpt[0],ispt00,ispt01,ispt02);                      \
             VSET(isectpt[1],ispt10,ispt11,ispt12);                      \
@@ -163,21 +163,21 @@
 
 
     /* VERT/VERT */
-    PREP(0,0,0, 0,1,0, 1,0,0, 0,0,0, 0,1,0, 1); fastf_t _splits[1][9] = 
{{0,0,0, 0,1,0, 1,0,0}}; POST("VERT/VERT");
+       PREP(0,0,0, 0,1,0, 1,0,0, 0,0,0, 0,1,0, 1); {fastf_t _splits[1][9] = 
{{0,0,0, 0,1,0, 1,0,0}}; POST("VERT/VERT");}
 
     /* VERT/EDGE */
-    PREP(-1,0,0, 0,1,0, 1,0,0, 0,0,0, 0,1,0, 2); fastf_t _splits[2][9] = 
{{0,0,0,0,1,0,-1,0,0},{0,0,0,0,1,0,1,0,0}}; POST("VERT/EDGE");
+       PREP(-1,0,0, 0,1,0, 1,0,0, 0,0,0, 0,1,0, 2); {fastf_t _splits[2][9] = 
{{0,0,0,0,1,0,-1,0,0},{0,0,0,0,1,0,1,0,0}}; POST("VERT/EDGE");}
 
 #if 0 /* known to be broken right now.  */
     /* EDGE/EDGE */
-    PREP(-2,0,0, 0,2,0, 2,0,0, 1,1,0, -1,1,0, 3); fastf_t _splits[3][9] = { { 
1,1,0,  0,2,0, -1,1,0}, { 1,1,0, -2,0,0,  2,0,0}, {-1,1,0,  1,1,0, -2,0,0}}; 
POST("EDGE/EDGE");
+       PREP(-2,0,0, 0,2,0, 2,0,0, 1,1,0, -1,1,0, 3); {fastf_t _splits[3][9] = 
{ { 1,1,0,  0,2,0, -1,1,0}, { 1,1,0, -2,0,0,  2,0,0}, {-1,1,0,  1,1,0, 
-2,0,0}}; POST("EDGE/EDGE");}
 #endif
 
     /* VERT/FACE */
-    PREP(-2,0,0, 0,2,0, 2,0,0, 0,2,0, 0,1,0, 3); fastf_t _splits[4][9]={ 
{-2,0,0,2,0,0,0,1,0}, {-2,0,0,0,2,0,0,1,0}, {2,0,0,0,2,0,0,1,0}}; 
POST("VERT/FACE");
+       PREP(-2,0,0, 0,2,0, 2,0,0, 0,2,0, 0,1,0, 3); {fastf_t _splits[4][9]={ 
{-2,0,0,2,0,0,0,1,0}, {-2,0,0,0,2,0,0,1,0}, {2,0,0,0,2,0,0,1,0}}; 
POST("VERT/FACE");}
 
     /* EDGE/FACE */
-    PREP(-2,0,0, 0,2,0, 2,0,0, 0,0,0, 0,1,0, 4); fastf_t 
_splits[4][9]={{0,0,0,-2,0,0,0,1,0},{0,0,0,2,0,0,0,1,0},{-2,0,0,0,2,0,0,1,0},{2,0,0,0,2,0,0,1,0}};
 POST("EDGE/FACE");
+       PREP(-2,0,0, 0,2,0, 2,0,0, 0,0,0, 0,1,0, 4); {fastf_t 
_splits[4][9]={{0,0,0,-2,0,0,0,1,0},{0,0,0,2,0,0,0,1,0},{-2,0,0,0,2,0,0,1,0},{2,0,0,0,2,0,0,1,0}};
 POST("EDGE/FACE");}
 
 #if 0 /* known to be broken right now */
     /* FACE/FACE */

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to