From 59e62b1414b3cd059e9565e750835b6ee2129b30 Mon Sep 17 00:00:00 2001 From: Scott Giese Date: Mon, 23 Nov 2020 16:13:43 -0600 Subject: [PATCH] warning: unreachable code --- simgear/nasal/mathlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/nasal/mathlib.c b/simgear/nasal/mathlib.c index 78fd1a26..cf3ac0f6 100644 --- a/simgear/nasal/mathlib.c +++ b/simgear/nasal/mathlib.c @@ -145,7 +145,7 @@ static naRef f_periodic(naContext c, naRef me, int argc, naRef* args) return VALIDATE(x); // x.num = SGMiscd::normalizePeriodic(a, b, x); - return VALIDATE(x); +// return VALIDATE(x); } static naRef f_round(naContext c, naRef me, int argc, naRef* args)