Revision: 49063
          http://brlcad.svn.sourceforge.net/brlcad/?rev=49063&view=rev
Author:   bob1961
Date:     2012-01-24 23:35:48 +0000 (Tue, 24 Jan 2012)
Log Message:
-----------
Moved variable declaration to top of code block.

Modified Paths:
--------------
    brlcad/trunk/src/rt/viewweight.c

Modified: brlcad/trunk/src/rt/viewweight.c
===================================================================
--- brlcad/trunk/src/rt/viewweight.c    2012-01-24 23:33:49 UTC (rev 49062)
+++ brlcad/trunk/src/rt/viewweight.c    2012-01-24 23:35:48 UTC (rev 49063)
@@ -498,12 +498,12 @@
         for (id = 1; id < MAX_ITEM; ++id) {
             const int flen = 65; /* desired size of name field */
             int CR = 0;
+            const int ns = 15;
 
             if (item_wt[id] < 0)
                continue;
 
             /* the following format string has 15 spaces before the region 
name: */
-            const int ns = 15;
             fprintf(outfp, "%5d %8.3f ", id, item_wt[id]);
 
             /* since we're sorted by ID, we only need to start and end with 
the current ID */

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