From f2d02662fa8676e5da8f7d84763202cb9a8c786d Mon Sep 17 00:00:00 2001 From: schnetter Date: Fri, 9 Apr 2004 09:27:44 +0000 Subject: Remove "return -1" statements after "assert (0)" statements. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@30 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8 --- src/slab.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/slab.c b/src/slab.c index fb3425f..fdca3e8 100644 --- a/src/slab.c +++ b/src/slab.c @@ -351,7 +351,6 @@ normal_type (int cactustype) return CCTK_VARIABLE_INT8; #endif assert (0); - return -1; case CCTK_VARIABLE_REAL: #ifdef CCTK_REAL_PRECISION_4 return CCTK_VARIABLE_REAL4; @@ -363,7 +362,6 @@ normal_type (int cactustype) return CCTK_VARIABLE_REAL16; #endif assert (0); - return -1; case CCTK_VARIABLE_COMPLEX: #ifdef CCTK_REAL_PRECISION_4 return CCTK_VARIABLE_COMPLEX8; @@ -375,7 +373,6 @@ normal_type (int cactustype) return CCTK_VARIABLE_COMPLEX32; #endif assert (0); - return -1; } return cactustype; } @@ -414,7 +411,6 @@ static MPI_Datatype mpi_type (int const cactustype) #endif } assert (0); - return -1; } -- cgit v1.2.3