From 8e572d417b7139708ed9bdb5a050e89b5f30eb89 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 30 Sep 1991 16:12:08 +0000 Subject: [PATCH] fixed lint complaints --- lang/cem/libcc.ansi/math/fmod.c | 3 +-- lang/cem/libcc.ansi/math/sin.c | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lang/cem/libcc.ansi/math/fmod.c b/lang/cem/libcc.ansi/math/fmod.c index 8117b2b6e..1e0c178f4 100644 --- a/lang/cem/libcc.ansi/math/fmod.c +++ b/lang/cem/libcc.ansi/math/fmod.c @@ -12,7 +12,6 @@ double fmod(double x, double y) { - long i; double val; double frac; @@ -27,7 +26,7 @@ fmod(double x, double y) /* val = x / y; if (val > LONG_MIN && val < LONG_MAX) { - i = val; + long i = val; return x - i * y; } */ diff --git a/lang/cem/libcc.ansi/math/sin.c b/lang/cem/libcc.ansi/math/sin.c index 24f501923..1f00f8394 100644 --- a/lang/cem/libcc.ansi/math/sin.c +++ b/lang/cem/libcc.ansi/math/sin.c @@ -30,7 +30,6 @@ sinus(double x, int cos_flag) 0.27204790957888846175e-14 }; - double xsqr; double y; int neg = 1;