aboutsummaryrefslogtreecommitdiff
path: root/gdb/target-float.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/target-float.c')
-rw-r--r--gdb/target-float.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/target-float.c b/gdb/target-float.c
index a12f216..7faebda 100644
--- a/gdb/target-float.c
+++ b/gdb/target-float.c
@@ -627,7 +627,6 @@ host_float_ops<T>::from_target (const struct floatformat *fmt,
}
unsigned char *ufrom = (unsigned char *) from;
- T dto;
long exponent;
unsigned long mant;
unsigned int mant_bits, mant_off;
@@ -685,7 +684,7 @@ host_float_ops<T>::from_target (const struct floatformat *fmt,
mant_bits_left = fmt->man_len;
mant_off = fmt->man_start;
- dto = 0.0;
+ T dto = 0.0;
special_exponent = exponent == 0 || exponent == fmt->exp_nan;