[hackers] [scc] Remove dead if() || Quentin Carbonneaux

From: <git_AT_suckless.org>
Date: Sat, 3 Oct 2015 21:48:37 +0200 (CEST)

commit b1d8e19834a16e35b4b9cc089a982c7a4a8390c7
Author: Quentin Carbonneaux <quentin.carbonneaux_AT_yale.edu>
AuthorDate: Sat Oct 3 15:48:32 2015 -0400
Commit: Quentin Carbonneaux <quentin.carbonneaux_AT_yale.edu>
CommitDate: Sat Oct 3 15:48:32 2015 -0400

    Remove dead if()

diff --git a/cc1/expr.c b/cc1/expr.c
index 22613bd..bc555e4 100644
--- a/cc1/expr.c
+++ b/cc1/expr.c
_AT_@ -566,8 +566,6 @@ arguments(Node *np)
                                         arg = convert(arg, doubletype, 1);
                                 break;
                         }
- if (arg->type->op == INT)
- arg = promote(arg);
                         par = node(OPAR, arg->type, par, arg);
                         continue;
                 }
Received on Sat Oct 03 2015 - 21:48:37 CEST

This archive was generated by hypermail 2.3.0 : Sat Oct 03 2015 - 22:00:13 CEST