[cig-commits] [commit] devel, master: Fix unused variable warning without CEM. (d9d5568)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Nov 6 08:30:41 PST 2014


Repository : https://github.com/geodynamics/specfem3d_globe

On branches: devel,master
Link       : https://github.com/geodynamics/specfem3d_globe/compare/bc58e579b3b0838a0968725a076f5904845437ca...be63f20cbb6f462104e949894dbe205d2398cd7f

>---------------------------------------------------------------

commit d9d55689c8accc0b61139438fe9e2a007a061072
Author: Elliott Sales de Andrade <esalesde at physics.utoronto.ca>
Date:   Wed Sep 10 01:10:52 2014 -0400

    Fix unused variable warning without CEM.


>---------------------------------------------------------------

d9d55689c8accc0b61139438fe9e2a007a061072
 src/meshfem3D/create_regions_mesh.F90 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/meshfem3D/create_regions_mesh.F90 b/src/meshfem3D/create_regions_mesh.F90
index 31e9a06..6884e6a 100644
--- a/src/meshfem3D/create_regions_mesh.F90
+++ b/src/meshfem3D/create_regions_mesh.F90
@@ -60,7 +60,10 @@
 
   use meshfem3D_models_par,only: &
     SAVE_BOUNDARY_MESH,SUPPRESS_CRUSTAL_MESH,REGIONAL_MOHO_MESH, &
-    OCEANS,CEM_REQUEST
+    OCEANS
+#if defined (CEM)
+  use meshfem3D_models_par,only: CEM_REQUEST
+#endif
 
   use create_MPI_interfaces_par, only: &
     NGLOB1D_RADIAL_MAX,iboolcorner,iboolfaces, &



More information about the CIG-COMMITS mailing list