From ee8ea69303dc134d9ed7849ee6c51105778d109f Mon Sep 17 00:00:00 2001 From: knarf Date: Mon, 28 Aug 2006 14:01:29 +0000 Subject: 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 --- src/TwoPunctures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3