library: eliminate that warning of '-Wunused-variable'

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2022-01-02 00:00:09 -06:00 committed by Craig Small
parent 4599117190
commit 7d8df62faa

View File

@ -1069,7 +1069,7 @@ static char *readlink_exe (const char *path){
// Provide the autogroup fields (or -1 if not available) // Provide the autogroup fields (or -1 if not available)
static void autogroup_fill (const char *path, proc_t *p) { static void autogroup_fill (const char *path, proc_t *p) {
char buf[PROCPATHLEN], *str; char buf[PROCPATHLEN];
int fd, in; int fd, in;
p->autogrp_id = -1; p->autogrp_id = -1;