introduce some builtin types
[cparser] / type_hash.c
index 15d5557..1b491af 100644 (file)
@@ -82,7 +82,6 @@ static unsigned hash_type(const type_t *type)
        unsigned hash = 0;
 
        switch(type->type) {
-       case TYPE_COUNT:
        case TYPE_INVALID:
                panic("internalizing void or invalid types not possible");
                return 0;
@@ -219,7 +218,6 @@ static bool types_equal(const type_t *type1, const type_t *type2)
                return false;
 
        switch(type1->type) {
-       case TYPE_COUNT:
        case TYPE_INVALID:
                return false;
        case TYPE_ATOMIC: