23 lines
797 B
Plaintext
23 lines
797 B
Plaintext
$OpenBSD: patch-lib_vasnprintf_c,v 1.2 2011/10/23 10:28:56 sthen Exp $
|
|
Initialize variable e
|
|
--- lib/vasnprintf.c.orig Thu Oct 20 08:39:13 2011
|
|
+++ lib/vasnprintf.c Fri Oct 21 15:05:07 2011
|
|
@@ -1294,7 +1294,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);
|
|
@@ -1312,7 +1312,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);
|