From 97b1b04d937ac7da65d6ab109b9f5dc0d369cde3 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Mon, 19 Mar 2018 19:51:11 +0100 Subject: C99 loop declarations not allowed in 1.6.x --- filter/config.Y | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'filter') diff --git a/filter/config.Y b/filter/config.Y index 7c077b65..6328ba09 100644 --- a/filter/config.Y +++ b/filter/config.Y @@ -320,7 +320,8 @@ f_generate_lc(struct f_inst *t1, struct f_inst *t2, struct f_inst *t3) static inline struct f_inst * f_generate_path_mask(struct f_path_mask *t) { - for (struct f_path_mask *tt = t; tt; tt = tt->next) { + struct f_path_mask *tt; + for (tt = t; tt; tt = tt->next) { if (tt->kind == PM_ASN_EXPR) { struct f_inst *mrv = f_new_inst(FI_PATHMASK_CONSTRUCT); mrv->a1.p = t; -- cgit v1.2.3