[Commits] [svn:einsteintoolkit] GRHydro/trunk/src/ (Rev. 441)

knarf at cct.lsu.edu knarf at cct.lsu.edu
Sun Dec 16 21:18:45 CST 2012


User: knarf
Date: 2012/12/16 09:18 PM

Modified:
 /trunk/src/
  GRHydro_Con2PrimM_polytype_pt.c, GRHydro_Con2PrimM_pt.c

Log:
 only define validate_x() if DEBUG_CON2PRIMM is set because it is currently unused and trigger warnings, but might be useful for debugging

File Changes:

Directory: /trunk/src/
======================

File [modified]: GRHydro_Con2PrimM_polytype_pt.c
Delta lines: +2 -0
===================================================================
--- trunk/src/GRHydro_Con2PrimM_polytype_pt.c	2012-11-23 21:25:35 UTC (rev 440)
+++ trunk/src/GRHydro_Con2PrimM_polytype_pt.c	2012-12-17 03:18:44 UTC (rev 441)
@@ -450,6 +450,7 @@
 }
 
 
+#if(DEBUG_CON2PRIMM)
 /********************************************************************
 
   validate_x(): 
@@ -474,6 +475,7 @@
   return;
 
 }
+#endif
 
 /************************************************************
 

File [modified]: GRHydro_Con2PrimM_pt.c
Delta lines: +2 -0
===================================================================
--- trunk/src/GRHydro_Con2PrimM_pt.c	2012-11-23 21:25:35 UTC (rev 440)
+++ trunk/src/GRHydro_Con2PrimM_pt.c	2012-12-17 03:18:44 UTC (rev 441)
@@ -471,6 +471,7 @@
 
 }
 
+#if(DEBUG_CON2PRIMM)
 /********************************************************************
 
   validate_x(): 
@@ -495,6 +496,7 @@
   return;
 
 }
+#endif
 
 /************************************************************
 



More information about the Commits mailing list