Revision: 41835
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41835&view=rev
Author:   brlcad
Date:     2010-12-29 07:39:52 +0000 (Wed, 29 Dec 2010)

Log Message:
-----------
unused params and exact floating point comaprison

Modified Paths:
--------------
    brlcad/trunk/src/vdeck/vdeck.c

Modified: brlcad/trunk/src/vdeck/vdeck.c
===================================================================
--- brlcad/trunk/src/vdeck/vdeck.c      2010-12-29 07:37:26 UTC (rev 41834)
+++ brlcad/trunk/src/vdeck/vdeck.c      2010-12-29 07:39:52 UTC (rev 41835)
@@ -414,7 +414,7 @@
  * in this region have been visited.
  */
 union tree *
-region_end( struct db_tree_state *tsp, const struct db_full_path *pathp, union 
tree *curtree, genptr_t client_data )
+region_end( struct db_tree_state *tsp, const struct db_full_path *pathp, union 
tree *curtree, genptr_t UNUSED(client_data) )
 {
     struct directory   *dp;
     char                       *fullname;
@@ -546,7 +546,7 @@
  * Re-use the librt "soltab" structures here, for our own purposes.
  */
 union tree *
-gettree_leaf( struct db_tree_state *tsp, const struct db_full_path *pathp, 
struct rt_db_internal *ip, genptr_t client_data )
+gettree_leaf( struct db_tree_state *tsp, const struct db_full_path *pathp, 
struct rt_db_internal *ip, genptr_t UNUSED(client_data) )
 {
     fastf_t    f;
     struct soltab      *stp;
@@ -1018,7 +1018,7 @@
 
     /* TEC if ratio top and bot vectors equal and base parallel to top.
      */
-    if ( mc != 0.0 && md != 0.0 &&
+    if ( !NEAR_ZERO(mc, SMALL_FASTF) && !NEAR_ZERO(md, SMALL_FASTF) &&
         fabs( (mb/md)-(ma/mc) ) < CONV_EPSILON &&
         fabs( fabs(VDOT(axb, cxd)) - (maxb*mcxd) ) < CONV_EPSILON )  {
        cgtype = TEC;
@@ -1798,7 +1798,7 @@
  * Terminate run.
  */
 void
-quit( int sig )
+quit( int UNUSED(sig) )
 {
     (void) fprintf( stdout, "quitting...\n" );
     bu_exit( 0, NULL );


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

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to