summary refs log tree commit diff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/util.c b/util.c
index 4144f87..cb6e75c 100644
--- a/util.c
+++ b/util.c
@@ -249,24 +249,16 @@ clsmerge(short *pk, short k)
 }
 
 int
-phicls(int t, Tmp *tmp /*, int c*/)
+phicls(int t, Tmp *tmp)
 {
-	if (tmp[t].phi)
-		return tmp[t].phi;
-	return t;
-#if 0
 	int t1;
 
 	t1 = tmp[t].phi;
 	if (!t1)
-		t1 = t;
-	if (t != t1) {
-		t1 = phitmp(t1, tmp, c);
-		if (c)
-			tmp[t].phi = t1;
-	}
+		return t;
+	t1 = phicls(t1, tmp);
+	tmp[t].phi = t1;
 	return t1;
-#endif
 }
 
 Ref