aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorknarf <knarf@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2006-08-28 14:01:29 +0000
committerknarf <knarf@b2a53a04-0f4f-0410-87ed-f9f25ced00cf>2006-08-28 14:01:29 +0000
commitee8ea69303dc134d9ed7849ee6c51105778d109f (patch)
treef2a9dbe344d43d1109a89f25897bb41aba84d599 /src
parentf98310227b819e58303f90fd2ee925806f83b9eb (diff)
make swap() void because it does not return something, the return value is never used and the compiler warns about this
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinInitialData/TwoPunctures/trunk@66 b2a53a04-0f4f-0410-87ed-f9f25ced00cf
Diffstat (limited to 'src')
-rw-r--r--src/TwoPunctures.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TwoPunctures.c b/src/TwoPunctures.c
index 2a365f7..8352890 100644
--- a/src/TwoPunctures.c
+++ b/src/TwoPunctures.c
@@ -16,7 +16,7 @@
/* Swap two variables */
static inline
-CCTK_REAL swap (CCTK_REAL * const a, CCTK_REAL * const b)
+void swap (CCTK_REAL * const a, CCTK_REAL * const b)
{
CCTK_REAL const t = *a; *a=*b; *b=t;
}