[hackers] [scc] Simplify decay() || Roberto E. Vargas Caballero
commit 6f385b9586ba41aa1d8ba52622bd4792c36453f6
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Sep 2 22:36:14 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Sep 2 22:36:14 2015 +0200
Simplify decay()
Two lines less ;)
diff --git a/cc1/expr.c b/cc1/expr.c
index 668dcfb..3e1dffa 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
_AT_@ -106,12 +106,10 @@ decay(Node *np)
return new;
}
case FTN:
- break;
+ np = node(OADDR, mktype(tp, PTR, 0, NULL), np, NULL);
default:
return np;
}
-
- return node(OADDR, mktype(tp, PTR, 0, NULL), np, NULL);
}
Node *
Received on Wed Sep 02 2015 - 22:46:21 CEST
This archive was generated by hypermail 2.3.0
: Wed Sep 02 2015 - 22:48:11 CEST