aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@082bdb00-0f4f-0410-b49e-b1835e5f2039>2008-02-20 16:35:44 +0000
committerschnetter <schnetter@082bdb00-0f4f-0410-b49e-b1835e5f2039>2008-02-20 16:35:44 +0000
commit2318af6e27cfe6298c73601e4b6da6d5ea62d218 (patch)
tree32fc867d6c4a4cc5b6bdfe172b9e90da30ab3b77
parentdcc567333cbd1e0db480ad99b9ec46c178ae1713 (diff)
Remove usused variables
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/ReflectionSymmetry/trunk@21 082bdb00-0f4f-0410-b49e-b1835e5f2039
-rw-r--r--src/interpolate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interpolate.c b/src/interpolate.c
index 84d0485..10da260 100644
--- a/src/interpolate.c
+++ b/src/interpolate.c
@@ -278,7 +278,7 @@ ReflectionSymmetry_Interpolate (CCTK_POINTER_TO_CONST restrict const cctkGH_,
ttype = WEYLSCALARS_REAL;
tcomponent = vi - firstvar;
} else {
- char * groupname = CCTK_GroupName(gi);
+ groupname = CCTK_GroupName(gi);
assert (groupname);
CCTK_VWarn (0, __LINE__, __FILE__, CCTK_THORNSTRING,
"Illegal tensor type alias for group \"%s\"",
@@ -364,7 +364,7 @@ ReflectionSymmetry_Interpolate (CCTK_POINTER_TO_CONST restrict const cctkGH_,
{
int code = operation_codes[m];
while (code) {
- const int d = code % 10 - 1;
+ d = code % 10 - 1;
code /= 10;
assert (d>=0 && d<3);
parities[d] *= -1;