summaryrefslogtreecommitdiff
path: root/mi/match_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'mi/match_test.c')
-rw-r--r--mi/match_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mi/match_test.c b/mi/match_test.c
index dda8fdb..d190aba 100644
--- a/mi/match_test.c
+++ b/mi/match_test.c
@@ -26,7 +26,7 @@ File file;
char debugopt[128];
typedef struct Dtree Dtree;
-extern Dtree *gendtree(Node *m, Node *val, Node **lbl, size_t nlbl, int startid);
+extern Dtree *gendtree(Node *m, Node *val, Node **lbl, size_t nlbl);
extern void dtreedump(FILE *fd, Dtree *dt);
@@ -250,7 +250,7 @@ test_match(int idx, Node *val, Node **pat, Dtree *want)
lappend(&lbl, &nlbl, genlbl(pat[i]->match.block->loc));
}
- dt = gendtree(m, v, lbl, nlbl, 0);
+ dt = gendtree(m, v, lbl, nlbl);
if (getenv("d")) {
fprintf(stderr, "dtree >>\n");
dtreedump(stderr, dt);