shithub: mc

Download patch

ref: 014b76121ce587c0197eb02e9b9b13db998a3968
parent: 2a6476bbf9dcafc868e6113c2d08b0fd34fc225c
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Jul 14 20:14:42 EDT 2014

Fix compilation on GCC 4.8

    More warnings are happening with -Werror. Good. Let them.
    I don't mind at all that my build broke.

--- a/parse/infer.c
+++ b/parse/infer.c
@@ -332,10 +332,8 @@
 {
     Type *t;
     size_t i;
-    int is;
 
     t = tysearch(st, orig);
-    is = isgeneric(orig);
     st->ingeneric += isgeneric(orig);
     tyresolve(st, t);
     /* If this is an instantiation of a generic type, we want the params to