summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib')
-rw-r--r--newlib/libc/stdlib/dtoa.c2
-rw-r--r--newlib/libc/stdlib/ldtoa.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/newlib/libc/stdlib/dtoa.c b/newlib/libc/stdlib/dtoa.c
index c9be9ed51..62597c755 100644
--- a/newlib/libc/stdlib/dtoa.c
+++ b/newlib/libc/stdlib/dtoa.c
@@ -229,7 +229,7 @@ _DEFUN (_dtoa_r,
int denorm;
__ULong x;
#endif
- _Bigint *b, *b1, *delta, *mlo, *mhi, *S;
+ _Bigint *b, *b1, *delta, *mlo = NULL, *mhi, *S;
double ds;
char *s, *s0;
diff --git a/newlib/libc/stdlib/ldtoa.c b/newlib/libc/stdlib/ldtoa.c
index 0a4c3230f..da652dd42 100644
--- a/newlib/libc/stdlib/ldtoa.c
+++ b/newlib/libc/stdlib/ldtoa.c
@@ -2838,11 +2838,8 @@ int
_ldcheck (long double *d)
{
unsigned short e[NI];
-char *s, *p;
-int k;
LDPARMS rnd;
LDPARMS *ldp = &rnd;
-char *outstr;
rnd.rlast = -1;
rnd.rndprc = NBITS;