Jim Meyering <[EMAIL PROTECTED]> wrote:
> + avoid a warning from gcc
> + * lib/vasnprintf.c (IF_LINT): Define.
> + (scale10_round_decimal_long_double):
> + Use it to avoid a "may be used uninitialized" warning.
Same problem a few lines below:
(I'll commit this in a few hours if no one beats me to it)
diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c
index 9018c60..ec35109 100644
--- a/lib/vasnprintf.c
+++ b/lib/vasnprintf.c
@@ -1230,7 +1230,7 @@ scale10_round_decimal_long_double (long double x, int n)
static char *
scale10_round_decimal_double (double x, int n)
{
- int e;
+ int e IF_LINT(= 0);
mpn_t m;
void *memory = decode_double (x, &e, &m);
return scale10_round_decimal_decoded (e, m, memory, n);