From: ceriel Date: Mon, 30 Sep 1991 16:12:08 +0000 (+0000) Subject: fixed lint complaints X-Git-Tag: release-5-5~799 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=8e572d417b7139708ed9bdb5a050e89b5f30eb89;p=ack.git fixed lint complaints --- 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;