summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-07-15 00:14:42 -0400
committerOri Bernstein <ori@eigenstate.org>2014-07-15 22:52:14 -0400
commit5e8a15598f1399a8b0a296dac2af139e1ba28e16 (patch)
tree50d2e5e734159b6963998ff89d879b67797e75df
parentc7a2126d610c06da11c9fcda4ebc8ce12c14107a (diff)
downloadmc-5e8a15598f1399a8b0a296dac2af139e1ba28e16.tar.gz
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.
-rw-r--r--parse/infer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/parse/infer.c b/parse/infer.c
index 737c61f..25f451d 100644
--- a/parse/infer.c
+++ b/parse/infer.c
@@ -332,10 +332,8 @@ static Type *tf(Inferstate *st, Type *orig)
{
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