diff options
Diffstat (limited to 'utils/c2l')
| -rw-r--r-- | utils/c2l/com.c | 2 | ||||
| -rw-r--r-- | utils/c2l/dcl.c | 2 | ||||
| -rw-r--r-- | utils/c2l/lex.c | 2 | ||||
| -rw-r--r-- | utils/c2l/sub.c | 5 |
4 files changed, 8 insertions, 3 deletions
diff --git a/utils/c2l/com.c b/utils/c2l/com.c index 283c2ae9..e40bfa2a 100644 --- a/utils/c2l/com.c +++ b/utils/c2l/com.c @@ -599,6 +599,7 @@ addaddr: if(n->type->etype == TARRAY) n->type = typ1(TIND, n->type->link); return 0; +#ifdef WHATEVA if(tlvalue(n)) goto bad; l = new1(OXXX, Z, Z); @@ -611,6 +612,7 @@ addaddr: n->type = typ1(TIND, l->type); n->type->width = types[TIND]->width; return 0; +#endif bad: n->type = T; diff --git a/utils/c2l/dcl.c b/utils/c2l/dcl.c index 6fb6977a..1f576467 100644 --- a/utils/c2l/dcl.c +++ b/utils/c2l/dcl.c @@ -926,7 +926,7 @@ rsametype(Type *t1, Type *t2, int n, int f) return 1; } } - return 0; + /* not reached */ } ulong diff --git a/utils/c2l/lex.c b/utils/c2l/lex.c index 5701dd99..574ecfc6 100644 --- a/utils/c2l/lex.c +++ b/utils/c2l/lex.c @@ -951,7 +951,7 @@ getnsc(void) } c = GETC(); } - return 0; + /* not reached */ } void diff --git a/utils/c2l/sub.c b/utils/c2l/sub.c index a696cb0f..4c0f2cdb 100644 --- a/utils/c2l/sub.c +++ b/utils/c2l/sub.c @@ -263,10 +263,12 @@ simplet(long b) int stcompat(Node *n, Type *t1, Type *t2, long ttab[]) { + USED(n); USED(t1); USED(t2); USED(ttab[0]); + return 0; +#ifdef WHATEVA int i; ulong b; - return 0; i = 0; if(t2 != T) i = t2->etype; @@ -286,6 +288,7 @@ stcompat(Node *n, Type *t1, Type *t2, long ttab[]) return 0; } return 1; +#endif } int |
