From 0309e078e1ab2bc740f0aa5c6a9d6a147d32d6b8 Mon Sep 17 00:00:00 2001 From: Matthias Gatto Date: Tue, 24 Dec 2024 15:08:28 +0100 Subject: [PATCH] fix C code for old compiler 2 Signed-off-by: Matthias Gatto --- bin/get_argument_list.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/get_argument_list.c b/bin/get_argument_list.c index 0eab558..d5760ec 100644 --- a/bin/get_argument_list.c +++ b/bin/get_argument_list.c @@ -64,10 +64,11 @@ int main(int ac, char **av) struct json_object *schema; struct json_object *func; struct json_object *properties; + int i; in_schema: - int i = 0; + i = 0; OBJ_GET(j_file, "components", &compo); OBJ_GET(compo, "schemas", &schema); OBJ_GET(schema, componant_name, &func);