Revision: 54878
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54878&view=rev
Author:   n_reed
Date:     2013-03-26 15:01:46 +0000 (Tue, 26 Mar 2013)
Log Message:
-----------
put attrFlags declarations in preprocessor conditionals to match wrapped uses; 
avoids unused variable warnings

Modified Paths:
--------------
    brlcad/trunk/src/other/step/src/fedex_plus/classes.c

Modified: brlcad/trunk/src/other/step/src/fedex_plus/classes.c
===================================================================
--- brlcad/trunk/src/other/step/src/fedex_plus/classes.c        2013-03-26 
14:58:57 UTC (rev 54877)
+++ brlcad/trunk/src/other/step/src/fedex_plus/classes.c        2013-03-26 
15:01:46 UTC (rev 54878)
@@ -1525,7 +1525,9 @@
         list = ENTITYget_supertypes( entity );
         if( ! LISTempty( list ) ) {
            if( LISTget_length( list ) > 1) {
+                fprintf( file, "#if 1\n" );
                 fprintf( file, "    int attrFlags[3];\n" );
+                fprintf( file, "#endif\n" );
            }
 
             LISTdo( list, e, Entity )
@@ -1744,7 +1746,9 @@
         list = ENTITYget_supertypes( entity );
         if( ! LISTempty( list ) ) {
            if( LISTget_length( list ) > 1) {
+                fprintf( file, "#if 0\n" );
                 fprintf( file, "    int attrFlags[3];\n" );
+                fprintf( file, "#endif\n" );
            }
 
             LISTdo( list, e, Entity )

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


------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to