[cig-commits] [commit] rajesh-petsc-schur: removed superfluous return statements from Problem_related.c (d23718e)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Sep 17 16:12:19 PDT 2014


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

On branch  : rajesh-petsc-schur
Link       : https://github.com/geodynamics/citcoms/compare/1bfd8478d42e61b89bc8cfc1679ae9dcc94936f5...b8ceede151860da20e44adbb561266c5d0878b18

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

commit d23718e7daf0f2b86bfebcd46361e32a73f6aafe
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Wed Sep 17 11:21:16 2014 -0700

    removed superfluous return statements from Problem_related.c


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

d23718e7daf0f2b86bfebcd46361e32a73f6aafe
 lib/Problem_related.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/lib/Problem_related.c b/lib/Problem_related.c
index b1b4ec0..828ac2a 100644
--- a/lib/Problem_related.c
+++ b/lib/Problem_related.c
@@ -42,7 +42,6 @@ void read_velocity_boundary_from_file(E)
      struct All_variables *E;
 {
     (E->solver.read_input_files_for_timesteps)(E,1,1); /* read velocity(1) and output(1) */
-    return;
 }
 #ifdef USE_GGRD
 /* 
@@ -55,7 +54,6 @@ void read_rayleigh_from_file(E)
      struct All_variables *E;
 {
   (E->solver.read_input_files_for_timesteps)(E,4,1); /* read Rayleigh number for top layers */
-  return;
 }
 #endif
 /*=======================================================================
@@ -66,8 +64,6 @@ void read_mat_from_file(E)
      struct All_variables *E;
 {
     (E->solver.read_input_files_for_timesteps)(E,3,1); /* read element material(3) and output(1) */
-  return;
-
 }
 /*=======================================================================
   read temperature at the top surface from files
@@ -77,7 +73,6 @@ void read_temperature_boundary_from_file(E)
      struct All_variables *E;
 {
     (E->solver.read_input_files_for_timesteps)(E,5,1); /* read temperature(5) and output(1) */
-    return;
 }
 
 
@@ -129,7 +124,6 @@ void get_initial_elapsed_time(E)
 #endif
     } /* end if tic_method */
 
-    return;
 }
 
 /*=======================================================================
@@ -142,8 +136,6 @@ void set_elapsed_time(E)
 
     if (E->control.zero_elapsed_time) /* set elapsed_time to zero */
 	E->monitor.elapsed_time = 0.0;
-
-   return;
 }
 
 /*=======================================================================
@@ -157,8 +149,6 @@ void set_starting_age(E)
 /* remember start_age is in MY */
     if (E->control.reset_startage)
 	E->control.start_age = E->monitor.elapsed_time*E->data.scalet;
-
-   return;
 }
 
 



More information about the CIG-COMMITS mailing list