Fix compile warnings in lib/ccom
authorNick Downing <downing.nick@gmail.com>
Tue, 7 Feb 2017 13:31:27 +0000 (00:31 +1100)
committerNick Downing <downing.nick@gmail.com>
Tue, 7 Feb 2017 13:31:27 +0000 (00:31 +1100)
lib/ccom/c12.c
lib/ccom/fp.c

index cbab7b6..6544c37 100644 (file)
@@ -305,10 +305,6 @@ union tree *optim(tree) register union tree *tree; {
 
 union tree *unoptim(tree) register union tree *tree; {
        register union tree *subtre, *p;
-#ifndef pdp11
-       _LONG temp_long;
-       uint16_t temp[2];
-#endif
 
        if (tree==NULL)
                return(NULL);
index 241b733..b8efa0d 100644 (file)
@@ -361,10 +361,9 @@ static int32_t moveifp11(val) _DOUBLE *val; {
 }
 
 static int32_t moviffp11(val, fac) int32_t val; _DOUBLE *fac; {
-       int32_t i, qdouble, leni;
+       int32_t i;
        int32_t exp, sign;
 
-       qdouble = FPS & FPS_D;
        fac->l = val;
        fac->h = 0;
        if (fac->l) {