]> git.ipfire.org Git - thirdparty/mtr.git/commitdiff
refactor(csv): remove unused close loop 606/head
authorDarafei Praliaskouski <me@komzpa.net>
Thu, 7 May 2026 21:56:34 +0000 (01:56 +0400)
committerDarafei Praliaskouski <me@komzpa.net>
Thu, 7 May 2026 21:56:34 +0000 (01:56 +0400)
ui/report.c

index 4b03c0d78afab2985d217b138d2fe847b0294a2c..a8d3bf053648e5630b297c5bd1ec5dae1fee3351 100644 (file)
@@ -474,12 +474,6 @@ void csv_close(
     ip_t *addr2 = NULL;
     char name[MAX_FORMAT_STR];
 
-    for (i = 0; i < MAXFLD; i++) {
-        j = ctl->fld_index[ctl->fld_active[i]];
-        if (j < 0)
-            continue;
-    }
-
     max = net_max(ctl);
     at = net_min(ctl);
     for (; at < max; at++) {