[hackers] [scc] Remove unneeded internal check || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Tue, 4 Aug 2015 22:15:13 +0200 (CEST)

commit e703cf33b768fa08ab5b26ca5f85eba756212088
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Tue Aug 4 09:57:21 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Tue Aug 4 09:57:21 2015 +0200

    Remove unneeded internal check
    
    This check had a consecutive call to error(), so it will
    always notified, even without the internal check.

diff --git a/cc1/types.c b/cc1/types.c
index 0cf283f..ddcbbc0 100644
--- a/cc1/types.c
+++ b/cc1/types.c
_AT_@ -257,8 +257,6 @@ ctype(unsigned type, unsigned sign, unsigned size)
                 }
                 break;
         }
- fputs("internal type error, aborting\n", stderr);
- abort();
 
 invalid_type:
         error("invalid type specification");
Received on Tue Aug 04 2015 - 22:15:13 CEST

This archive was generated by hypermail 2.3.0 : Tue Aug 04 2015 - 22:24:18 CEST