From 619979658ab49e2f4682b346a7831bcf98804b52 Mon Sep 17 00:00:00 2001 From: Ian Hinder Date: Mon, 20 May 2013 20:15:40 +0200 Subject: Regenerate examples --- Examples/SimpleWaveOpenCL/src/Boundaries.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Examples/SimpleWaveOpenCL/src/Boundaries.cc') diff --git a/Examples/SimpleWaveOpenCL/src/Boundaries.cc b/Examples/SimpleWaveOpenCL/src/Boundaries.cc index fc19996..6cec1b7 100644 --- a/Examples/SimpleWaveOpenCL/src/Boundaries.cc +++ b/Examples/SimpleWaveOpenCL/src/Boundaries.cc @@ -30,7 +30,7 @@ extern "C" void SimpleWaveOpenCL_SelectBoundConds(CCTK_ARGUMENTS) DECLARE_CCTK_ARGUMENTS; DECLARE_CCTK_PARAMETERS; - CCTK_INT ierr = 0; + CCTK_INT ierr CCTK_ATTRIBUTE_UNUSED = 0; if (CCTK_EQUALS(evolved_group_bound, "none" ) || CCTK_EQUALS(evolved_group_bound, "static") || @@ -68,7 +68,7 @@ extern "C" void SimpleWaveOpenCL_SelectBoundConds(CCTK_ARGUMENTS) if (CCTK_EQUALS(evolved_group_bound, "radiative")) { /* select radiation boundary condition */ - static CCTK_INT handle_evolved_group_bound = -1; + static CCTK_INT handle_evolved_group_bound CCTK_ATTRIBUTE_UNUSED = -1; if (handle_evolved_group_bound < 0) handle_evolved_group_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE); if (handle_evolved_group_bound < 0) CCTK_WARN(0, "could not create table!"); if (Util_TableSetReal(handle_evolved_group_bound , evolved_group_bound_limit, "LIMIT") < 0) @@ -87,7 +87,7 @@ extern "C" void SimpleWaveOpenCL_SelectBoundConds(CCTK_ARGUMENTS) if (CCTK_EQUALS(phi_bound, "radiative")) { /* select radiation boundary condition */ - static CCTK_INT handle_phi_bound = -1; + static CCTK_INT handle_phi_bound CCTK_ATTRIBUTE_UNUSED = -1; if (handle_phi_bound < 0) handle_phi_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE); if (handle_phi_bound < 0) CCTK_WARN(0, "could not create table!"); if (Util_TableSetReal(handle_phi_bound , phi_bound_limit, "LIMIT") < 0) @@ -106,7 +106,7 @@ extern "C" void SimpleWaveOpenCL_SelectBoundConds(CCTK_ARGUMENTS) if (CCTK_EQUALS(pi_bound, "radiative")) { /* select radiation boundary condition */ - static CCTK_INT handle_pi_bound = -1; + static CCTK_INT handle_pi_bound CCTK_ATTRIBUTE_UNUSED = -1; if (handle_pi_bound < 0) handle_pi_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE); if (handle_pi_bound < 0) CCTK_WARN(0, "could not create table!"); if (Util_TableSetReal(handle_pi_bound , pi_bound_limit, "LIMIT") < 0) @@ -125,7 +125,7 @@ extern "C" void SimpleWaveOpenCL_SelectBoundConds(CCTK_ARGUMENTS) if (CCTK_EQUALS(evolved_group_bound, "scalar")) { /* select scalar boundary condition */ - static CCTK_INT handle_evolved_group_bound = -1; + static CCTK_INT handle_evolved_group_bound CCTK_ATTRIBUTE_UNUSED = -1; if (handle_evolved_group_bound < 0) handle_evolved_group_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE); if (handle_evolved_group_bound < 0) CCTK_WARN(0, "could not create table!"); if (Util_TableSetReal(handle_evolved_group_bound ,evolved_group_bound_scalar, "SCALAR") < 0) @@ -142,7 +142,7 @@ extern "C" void SimpleWaveOpenCL_SelectBoundConds(CCTK_ARGUMENTS) if (CCTK_EQUALS(phi_bound, "scalar")) { /* select scalar boundary condition */ - static CCTK_INT handle_phi_bound = -1; + static CCTK_INT handle_phi_bound CCTK_ATTRIBUTE_UNUSED = -1; if (handle_phi_bound < 0) handle_phi_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE); if (handle_phi_bound < 0) CCTK_WARN(0, "could not create table!"); if (Util_TableSetReal(handle_phi_bound ,phi_bound_scalar, "SCALAR") < 0) @@ -159,7 +159,7 @@ extern "C" void SimpleWaveOpenCL_SelectBoundConds(CCTK_ARGUMENTS) if (CCTK_EQUALS(pi_bound, "scalar")) { /* select scalar boundary condition */ - static CCTK_INT handle_pi_bound = -1; + static CCTK_INT handle_pi_bound CCTK_ATTRIBUTE_UNUSED = -1; if (handle_pi_bound < 0) handle_pi_bound = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE); if (handle_pi_bound < 0) CCTK_WARN(0, "could not create table!"); if (Util_TableSetReal(handle_pi_bound ,pi_bound_scalar, "SCALAR") < 0) -- cgit v1.2.3