[hackers] [scc] [cc1] Simplify expression in types.c || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Wed, 28 Sep 2016 12:35:15 +0200 (CEST)

commit bea83b8b7641be12d18d3f69f658261459de7fc4
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Wed Sep 28 12:34:53 2016 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Wed Sep 28 12:34:53 2016 +0200

    [cc1] Simplify expression in types.c

diff --git a/cc1/types.c b/cc1/types.c
index d49b3e5..170e4a8 100644
--- a/cc1/types.c
+++ b/cc1/types.c
_AT_@ -214,7 +214,7 @@ typesize(Type *tp)
                                 size += aux->size;
                                 offset = size;
                         } else {
- if ((*sp)->type->size > size)
+ if (aux->size > size)
                                         size = aux->size;
                         }
                 }
Received on Wed Sep 28 2016 - 12:35:15 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 28 2016 - 12:36:18 CEST