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

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Nov 5 19:07:19 PST 2014


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

On branch  : rajesh-petsc-schur
Link       : https://github.com/geodynamics/citcoms/compare/464e1b32299b15819f93efd98d969cddb84dfe51...f97ae655a50bdbd6dac1923a3471ee4dae178fbd

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

commit d871a7730f421fc967e295e7f27f58cf4ccbeb80
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Wed Sep 17 10:06:17 2014 -0700

    removed superfluous return statements from Material_properties.c


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

d871a7730f421fc967e295e7f27f58cf4ccbeb80
 lib/Material_properties.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lib/Material_properties.c b/lib/Material_properties.c
index 9e83f50..f11d47e 100644
--- a/lib/Material_properties.c
+++ b/lib/Material_properties.c
@@ -110,7 +110,6 @@ void reference_state(struct All_variables *E)
                     E->refstate.rho[i],layers_r(E,E->sx[1][3][i]));
         }
 
-    return;
 }
 
 
@@ -157,7 +156,6 @@ static void read_refstate(struct All_variables *E)
     }
 
     fclose(fp);
-    return;
 }
 
 
@@ -179,7 +177,6 @@ static void adams_williamson_eos(struct All_variables *E)
 	/*E->refstate.Tadi[i] = (E->control.adiabaticT0 + E->control.surface_temp) * exp(E->control.disptn_number * z) - E->control.surface_temp;*/
     }
 
-    return;
 }
 
 
@@ -274,5 +271,4 @@ static void murnaghan_eos(struct All_variables *E)
     free(rho);
     free(p);
 
-    return;
 }



More information about the CIG-COMMITS mailing list