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

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Sep 18 16:17:57 PDT 2014


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

On branch  : devel
Link       : https://github.com/geodynamics/specfem3d_globe/compare/c6e8e9a46f1a4bfcf8b3725426d1dd528b7dabea...44c2c95f23a37e3e2af17b5f784a8521c8197b8b

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

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