X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=type_hash.c;h=1b491afa24ea65fb77bc8f7b5e64373ef36b39b4;hb=669dddef54ca072449239d2d8deaf65507fe9c17;hp=15d55576c776b36960ff49f2845066275a31b976;hpb=5b5de4a17e6e8d163ede66e5e7d7e254f0ca1506;p=cparser diff --git a/type_hash.c b/type_hash.c index 15d5557..1b491af 100644 --- a/type_hash.c +++ b/type_hash.c @@ -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: