From a9e1ebe04662b72750d1dc269f839cc13e6f7163 Mon Sep 17 00:00:00 2001 From: Robert Kessl Date: Wed, 30 Jul 2014 10:55:59 +0200 Subject: [PATCH] tableprinter: compile fix --- ucw/table.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ucw/table.c b/ucw/table.c index 9414b18d..b00979c2 100644 --- a/ucw/table.c +++ b/ucw/table.c @@ -49,7 +49,8 @@ struct table *table_init(const struct table_template *tbl_template) // initialize column_order if(tbl_template->column_order) { - for(int cols_to_output = 0; ; cols_to_output++) { + int cols_to_output = 0; + for(; ; cols_to_output++) { if(tbl_template->column_order[cols_to_output].idx == ~0U) break; } -- 2.39.5