Removed unused variable

This commit is contained in:
ceriel 1991-03-11 14:38:28 +00:00
parent 52d4c7ff70
commit 977e1ac25e

View file

@ -14,20 +14,17 @@ flt_arith2flt(n, e, uns)
{ {
/* Convert the arith "n" to a flt_arith "e". /* Convert the arith "n" to a flt_arith "e".
*/ */
register int i;
if (!uns && n < 0) { if (!uns && n < 0) {
e->flt_sign = 1; e->flt_sign = 1;
n = -n; n = -n;
} }
else e->flt_sign = 0; else e->flt_sign = 0;
switch(sizeof(arith)) { if (sizeof(arith) == 4) {
case 4: e->m1 = n; e->m2 = 0;
e->m1 = n; e->m2 = 0; break; } else {
default:
e->m1 = (n >> (sizeof(arith)*8 - 32)) & 0xFFFFFFFF; e->m1 = (n >> (sizeof(arith)*8 - 32)) & 0xFFFFFFFF;
e->m2 = n << 32; e->m2 = n << 32;
break;
} }
if (n == 0) { if (n == 0) {
e->flt_exp = 0; e->flt_exp = 0;