openbsd-ports/net/lftp/patches/patch-lib_vasnprintf_c
jasper 164d6010ca update to lftp-4.9.0
ok rsadowski@ (MAINTAINER)
2020-01-08 07:50:30 +00:00

24 lines
772 B
Plaintext

$OpenBSD: patch-lib_vasnprintf_c,v 1.5 2020/01/08 07:50:30 jasper Exp $
Initialize variable e
Index: lib/vasnprintf.c
--- lib/vasnprintf.c.orig
+++ lib/vasnprintf.c
@@ -1306,7 +1306,7 @@ scale10_round_decimal_decoded (int e, mpn_t m, void *m
static char *
scale10_round_decimal_long_double (long double x, int n)
{
- int e IF_LINT(= 0);
+ int e = 0;
mpn_t m;
void *memory = decode_long_double (x, &e, &m);
return scale10_round_decimal_decoded (e, m, memory, n);
@@ -1324,7 +1324,7 @@ scale10_round_decimal_long_double (long double x, int
static char *
scale10_round_decimal_double (double x, int n)
{
- int e IF_LINT(= 0);
+ int e = 0;
mpn_t m;
void *memory = decode_double (x, &e, &m);
return scale10_round_decimal_decoded (e, m, memory, n);