diff options
author | Jim Warner <james.warner@comcast.net> | 2022-01-02 00:00:09 -0600 |
---|---|---|
committer | Craig Small <csmall@dropbear.xyz> | 2022-01-07 19:19:15 +1100 |
commit | 7d8df62faa90f4d339b41a053887361ca22a62e5 (patch) | |
tree | 17de189c0f0936a8ed092227a5de2db01f1f89f8 | |
parent | 4599117190d38a46af0ff5e1fb949d03c0a48cf8 (diff) | |
download | procps-ng-7d8df62faa90f4d339b41a053887361ca22a62e5.tar.gz |
library: eliminate that warning of '-Wunused-variable'
Signed-off-by: Jim Warner <james.warner@comcast.net>
-rw-r--r-- | proc/readproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proc/readproc.c b/proc/readproc.c index feda54b..eb3504d 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; |