shithub: mc

Download patch

ref: 680eccecfe196286eee2da7ffcdfa51cb34e6834
parent: dc335f52e7cd8526d3cc9d979057d3de593f94c6
author: Ori Bernstein <[email protected]>
date: Fri Feb 7 06:57:13 EST 2014

Remove debugging assert.

--- a/parse/type.c
+++ b/parse/type.c
@@ -39,10 +39,8 @@
      * each builtin type in order. As we do this, we put the type into
      * the table as ususal, which gives us an identity mapping.
      */
-    if (ty <= Tyvalist && ty < ntypes) {
-        assert(types[ty] != NULL);
+    if (ty <= Tyvalist && ty < ntypes)
         return types[ty];
-    }
 
     t = zalloc(sizeof(Type));
     t->type = ty;