shithub: mc

Download patch

ref: 332da77476a90dd8504d6100ad30380a3e82fe03
parent: 178ce0afad1d2ec8af4814ce5970d2e8194b849f
author: Ori Bernstein <ori@markovcorp.com>
date: Mon Feb 18 08:49:33 EST 2019

We don't need the last array, just the count.

Fixes #187

--- a/parse/infer.c
+++ b/parse/infer.c
@@ -2489,7 +2489,7 @@
 static void
 postinfer(void)
 {
-	Postcheck **post, **last;
+	Postcheck **post;
 	size_t npost, nlast;
 
 	/* Iterate until we reach a fixpoint. */
@@ -2501,7 +2501,6 @@
 		if (npost == nlast) {
 			break;
 		}
-		last = post;
 		nlast = npost;
 	}
 }