diff options
Diffstat (limited to 'Examples/Advect/src/Boundaries.cc')
-rw-r--r-- | Examples/Advect/src/Boundaries.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Examples/Advect/src/Boundaries.cc b/Examples/Advect/src/Boundaries.cc index ab7b66f..7da7751 100644 --- a/Examples/Advect/src/Boundaries.cc +++ b/Examples/Advect/src/Boundaries.cc @@ -30,7 +30,7 @@ extern "C" void Advect_SelectBoundConds(CCTK_ARGUMENTS) DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; - CCTK_INT ierr = 0; + CCTK_INT ierr CCTK_ATTRIBUTE_UNUSED = 0; if (CCTK_EQUALS(rho_group_bound, "none" ) || CCTK_EQUALS(rho_group_bound, "static") || @@ -57,7 +57,7 @@ extern "C" void Advect_SelectBoundConds(CCTK_ARGUMENTS) if (CCTK_EQUALS(rho_group_bound, "radiative")) { /* select radiation boundary condition */ - static CCTK_INT handle_rho_group_bound = -1; + static CCTK_INT handle_rho_group_bound CCTK_ATTRIBUTE_UNUSED = -1; if (handle_rho_group_bound < 0) handle_rho_group_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE); if (handle_rho_group_bound < 0) CCTK_WARN(0, "could not create table!"); if (Util_TableSetReal(handle_rho_group_bound , rho_group_bound_limit, "LIMIT") < 0) @@ -76,7 +76,7 @@ extern "C" void Advect_SelectBoundConds(CCTK_ARGUMENTS) if (CCTK_EQUALS(rho_bound, "radiative")) { /* select radiation boundary condition */ - static CCTK_INT handle_rho_bound = -1; + static CCTK_INT handle_rho_bound CCTK_ATTRIBUTE_UNUSED = -1; if (handle_rho_bound < 0) handle_rho_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE); if (handle_rho_bound < 0) CCTK_WARN(0, "could not create table!"); if (Util_TableSetReal(handle_rho_bound , rho_bound_limit, "LIMIT") < 0) @@ -95,7 +95,7 @@ extern "C" void Advect_SelectBoundConds(CCTK_ARGUMENTS) if (CCTK_EQUALS(rho_group_bound, "scalar")) { /* select scalar boundary condition */ - static CCTK_INT handle_rho_group_bound = -1; + static CCTK_INT handle_rho_group_bound CCTK_ATTRIBUTE_UNUSED = -1; if (handle_rho_group_bound < 0) handle_rho_group_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE); if (handle_rho_group_bound < 0) CCTK_WARN(0, "could not create table!"); if (Util_TableSetReal(handle_rho_group_bound ,rho_group_bound_scalar, "SCALAR") < 0) @@ -112,7 +112,7 @@ extern "C" void Advect_SelectBoundConds(CCTK_ARGUMENTS) if (CCTK_EQUALS(rho_bound, "scalar")) { /* select scalar boundary condition */ - static CCTK_INT handle_rho_bound = -1; + static CCTK_INT handle_rho_bound CCTK_ATTRIBUTE_UNUSED = -1; if (handle_rho_bound < 0) handle_rho_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE); if (handle_rho_bound < 0) CCTK_WARN(0, "could not create table!"); if (Util_TableSetReal(handle_rho_bound ,rho_bound_scalar, "SCALAR") < 0) |