From c18006147ed0ffba6144c25e564aa95c4dbba99a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 8 Mar 2025 13:44:00 +0100 Subject: Fix warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/options.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/options.c') diff --git a/src/options.c b/src/options.c index c25eb03..7a7fb01 100644 --- a/src/options.c +++ b/src/options.c @@ -216,8 +216,10 @@ print_method_list(void) static void print_provider_list(void) { + size_t i; + fputs(_("Available location providers:\n"), stdout); - for (int i = 0; location_providers[i]; i++) { + for (i = 0; location_providers[i]; i++) { printf(" %s\n", location_providers[i]->name); } -- cgit v1.2.3-70-g09d2