From 4688b8db51f510b06452c6c6a8434293a54af771 Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Fri, 17 Apr 2026 17:33:59 +0200 Subject: [PATCH] Avoid compiler warning about unused variable ln in scan6. --- tools/scan6.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/scan6.c b/tools/scan6.c index fdd7443..ff2d4d8 100644 --- a/tools/scan6.c +++ b/tools/scan6.c @@ -5740,7 +5740,6 @@ int process_config_file(const char *path) { char *key, *value; char line[MAX_LINE_SIZE]; int r; - unsigned int ln = 1; if ((fp = fopen(path, "r")) == NULL) { return (0); @@ -5774,8 +5773,6 @@ int process_config_file(const char *path) { fclose(fp); return (0); } - - ln++; } fclose(fp);