From 7d8df62faa90f4d339b41a053887361ca22a62e5 Mon Sep 17 00:00:00 2001 From: Jim Warner Date: Sun, 2 Jan 2022 00:00:09 -0600 Subject: [PATCH] library: eliminate that warning of '-Wunused-variable' Signed-off-by: Jim Warner --- proc/readproc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc/readproc.c b/proc/readproc.c index feda54b7..eb3504d8 100644 --- a/proc/readproc.c +++ b/proc/readproc.c @@ -1069,7 +1069,7 @@ static char *readlink_exe (const char *path){ // Provide the autogroup fields (or -1 if not available) static void autogroup_fill (const char *path, proc_t *p) { - char buf[PROCPATHLEN], *str; + char buf[PROCPATHLEN]; int fd, in; p->autogrp_id = -1; -- 2.40.0