[hackers] [scc] Remove unneeded change of namespace in structdcl() || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Thu, 27 Aug 2015 16:16:37 +0200 (CEST)

commit acb25bfdff10aebe18b8edbc1c697fc1da9a64a3
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Thu Aug 27 15:56:17 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Thu Aug 27 15:56:17 2015 +0200

    Remove unneeded change of namespace in structdcl()
    
    The namespace already had the correct namespace.

diff --git a/cc1/decl.c b/cc1/decl.c
index 1a6c42a..b87ff34 100644
--- a/cc1/decl.c
+++ b/cc1/decl.c
_AT_@ -430,7 +430,6 @@ structdcl(void)
         if (tp->defined)
                 error("redefinition of struct/union '%s'", sym->name);
         tp->defined = 1;
- namespace = tp->ns;
 
         if (nested == NR_STRUCT_LEVEL)
                 error("too levels of nested structure or union definitions");
Received on Thu Aug 27 2015 - 16:16:37 CEST

This archive was generated by hypermail 2.3.0 : Thu Aug 27 2015 - 16:24:12 CEST