[cgma-dev] r5026 - in cgm/trunk: geom util

sjackson at cae.wisc.edu sjackson at cae.wisc.edu
Tue Jun 21 12:58:22 CDT 2011


Author: sjackson
Date: 2011-06-21 12:58:19 -0500 (Tue, 21 Jun 2011)
New Revision: 5026

Modified:
   cgm/trunk/geom/GeometryQueryEngine.hpp
   cgm/trunk/geom/Lump.hpp
   cgm/trunk/util/CubitMessage.hpp
Log:
Comment out a few unused parameter names in publicly-defined functions.

This addresses compiler warnings that may be generated when compiling
client code such as mcnp2cad. 



Modified: cgm/trunk/geom/GeometryQueryEngine.hpp
===================================================================
--- cgm/trunk/geom/GeometryQueryEngine.hpp	2011-06-21 05:18:44 UTC (rev 5025)
+++ cgm/trunk/geom/GeometryQueryEngine.hpp	2011-06-21 17:58:19 UTC (rev 5026)
@@ -256,8 +256,8 @@
     //O vector showning transform.
     //O-Computes the transform from the transformed body.
 
-  virtual int curve_is_on_ignored_surface(Curve *curve,
-                    Surface *surf) { return 0; }
+  virtual int curve_is_on_ignored_surface(Curve */*curve*/,
+                    Surface */*surf*/) { return 0; }
 
   virtual const char* modeler_type() = 0;
   virtual int get_major_version() = 0;
@@ -336,7 +336,7 @@
 
   virtual CubitBoolean volumes_overlap (Lump *lump1, Lump *lump2 ) const = 0; 
 
-  virtual TopologyBridge* get_visible_entity_at_point(TopologyBridge* hidden_tb, CubitVector* point){return NULL;};
+  virtual TopologyBridge* get_visible_entity_at_point(TopologyBridge* /*hidden_tb*/, CubitVector* /*point*/){return NULL;};
 
    protected:
 

Modified: cgm/trunk/geom/Lump.hpp
===================================================================
--- cgm/trunk/geom/Lump.hpp	2011-06-21 05:18:44 UTC (rev 5025)
+++ cgm/trunk/geom/Lump.hpp	2011-06-21 17:58:19 UTC (rev 5026)
@@ -47,10 +47,10 @@
       //R- The enumerated type of the geometric representation
 
    virtual CubitStatus mass_properties( CubitVector &centroid, double &volume ) = 0;
-   virtual CubitStatus mass_properties( CubitVector principal_axes[3], 
-                                        CubitVector &principal_moments,
-                                        CubitVector &centroid, 
-                                        double &volume ) {return CUBIT_FAILURE;}
+   virtual CubitStatus mass_properties( CubitVector /*principal_axes*/[3], 
+                                        CubitVector &/*principal_moments*/,
+                                        CubitVector &/*centroid*/, 
+                                        double &/*volume*/ ) {return CUBIT_FAILURE;}
 
    protected: 
 

Modified: cgm/trunk/util/CubitMessage.hpp
===================================================================
--- cgm/trunk/util/CubitMessage.hpp	2011-06-21 05:18:44 UTC (rev 5025)
+++ cgm/trunk/util/CubitMessage.hpp	2011-06-21 17:58:19 UTC (rev 5026)
@@ -395,9 +395,9 @@
   int  number_of_debug_flags();


More information about the cgma-dev mailing list