From 7de88d1bcd420447023b8e74b0aa4f5e8ba1df6b Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sun, 27 Feb 2022 16:53:22 +0100 Subject: Removed array-size constants for certain objects (steps, commands...) --- src/steps.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/steps.c') diff --git a/src/steps.c b/src/steps.c index 5de3206..83d105c 100644 --- a/src/steps.c +++ b/src/steps.c @@ -929,7 +929,7 @@ htrfin_htr = { .ntables = 1, }; -Step *steps[NSTEPS] = { +Step *steps[] = { &optimal_HTM, /* first is default */ &optimal_light_HTM, @@ -985,6 +985,8 @@ Step *steps[NSTEPS] = { &cornershtr_URF, &corners_HTM, &corners_URF, + + NULL }; /* Checkers, estimators and validators ***************************************/ -- cgit v1.3