summaryrefslogtreecommitdiff
path: root/parse/specialize.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-12-25 11:32:30 -0800
committerOri Bernstein <ori@eigenstate.org>2016-12-25 11:32:30 -0800
commit7f8782b1ccbf724f44b4e86bc2fef9c6d309d564 (patch)
tree99cf4f54d5bf7a521a003f2ce94a0b3bfaf41e49 /parse/specialize.c
parentc1785ddd18f21259671a5d8347a5b39ab151b1f4 (diff)
downloadmc-7f8782b1ccbf724f44b4e86bc2fef9c6d309d564.tar.gz
Fix openbsd compile warning.
Diffstat (limited to 'parse/specialize.c')
-rw-r--r--parse/specialize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse/specialize.c b/parse/specialize.c
index 26136ed..0a30baf 100644
--- a/parse/specialize.c
+++ b/parse/specialize.c
@@ -547,6 +547,7 @@ Node *bestimpl(Node *n, Type *to)
if (hthas(n->decl.impls, to))
return htget(n->decl.impls, to);
ambig = NULL;
+ match = NULL;
nambig = 0;
best = -1;
gimpl = n->decl.gimpl;