ref: 82383606b685c930d22ad3c3458195ff7d180454
parent: b0b817261fb05f20bbeb9ab91586a2569dd7bd85
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Mar 6 08:41:49 EST 2017
[cc1] Remove not used variables
--- a/cc1/cpp.c
+++ b/cc1/cpp.c
@@ -786,7 +786,6 @@
static char file[FILENAME_MAX];
static unsigned nline;
char *s;
- int i;
putchar('\n');
if (strcmp(file, filenam)) {
--- a/cc1/fold.c
+++ b/cc1/fold.c
@@ -503,8 +503,8 @@
static Node *
identity(Node *np)
{
- int iszeror, isoner, istruer;
- int iszerol, isonel, istruel;
+ int iszeror, isoner;
+ int iszerol, isonel;
Node *lp = np->left, *rp = np->right;
if (!rp)
@@ -512,10 +512,8 @@
iszeror = cmpnode(rp, 0);
isoner = cmpnode(rp, 1),
- istruer = !iszeror && rp->flags & NCONST;
iszerol = cmpnode(lp, 0);
- isonel = cmpnode(lp, 1),
- istruel = !iszerol && lp->flags & NCONST;
+ isonel = cmpnode(lp, 1);
switch (np->op) {
case OOR:
--- a/cc1/main.c
+++ b/cc1/main.c
@@ -44,7 +44,6 @@
int
main(int argc, char *argv[])
{
- char *cp;
int i;
ilex();