[cgma-dev] r6060 - cgm/trunk/util
janehu at mcs.anl.gov
janehu at mcs.anl.gov
Fri Sep 6 12:54:04 CDT 2013
Author: janehu
Date: 2013-09-06 12:54:04 -0500 (Fri, 06 Sep 2013)
New Revision: 6060
Modified:
cgm/trunk/util/CubitMessage.hpp
Log:
Better way to remove warnings, provided by Danqing Wu.
Modified: cgm/trunk/util/CubitMessage.hpp
===================================================================
--- cgm/trunk/util/CubitMessage.hpp 2013-09-06 15:28:03 UTC (rev 6059)
+++ cgm/trunk/util/CubitMessage.hpp 2013-09-06 17:54:04 UTC (rev 6060)
@@ -404,9 +404,9 @@
int number_of_debug_flags();
//- debug flag, used with internal_error
- virtual void set_debug_flag_gui(bool flag){flag = flag;};
+ virtual void set_debug_flag_gui(bool /* flag */){};
virtual int is_debug_flag_gui_set(){return 0;};
- virtual int print_debug_gui( const char *format, ... ){format = format; return 0;};
+ virtual int print_debug_gui( const char * /* format */, ... ){return 0;};
//- write out a debug message (from GUI only)
//- used for GUI Debugging (CAT-only)
More information about the cgma-dev
mailing list