shithub: mc

Download patch

ref: 7b5b13c934275e5445185cbf31486ea6c0e08e79
parent: dbb3de0c99202d9e0ed00d196f8863526cbce95f
author: Ori Bernstein <ori@eigenstate.org'>
date: Sun Jan 3 05:36:50 EST 2016

fix debug cruft

--- a/parse/tok.c
+++ b/parse/tok.c
@@ -755,7 +755,7 @@
 	return t;
 }
 
-static Tok *toknext()
+static Tok *toknext(void)
 {
 	Tok *t;
 	int c;
--- a/parse/type.c
+++ b/parse/type.c
@@ -39,9 +39,6 @@
 
 int isstacktype(Type *t) { return stackness[tybase(t)->type]; }
 
-void breakhere() {
-}
-
 Type *mktype(Srcloc loc, Ty ty)
 {
 	Type *t;
@@ -54,8 +51,6 @@
 	 * 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 (ntypes == 37)
-		breakhere();
 	if (ty <= Tyvalist && ty < ntypes)
 		return types[ty];