1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-11 23:43:19 +00:00

Removes unused local variable len

This commit is contained in:
Nick Briggs 2025-10-21 18:03:11 -07:00
parent 673ec07a58
commit 8ad8b4db2a

View File

@ -1033,7 +1033,6 @@ static int enum_dsk(char *dir, char *name, char *ver, FINFO **finfo_buf)
FINFO *prevp;
FINFO *nextp;
int n, rval;
size_t len;
DIR *dirp;
struct stat sbuf;
char namebuf[MAXPATHLEN];
@ -1132,7 +1131,7 @@ static int enum_ufs_prop(char *dir, char *name, char *ver, FINFO **finfo_buf)
struct direct *dp;
FINFO *prevp;
FINFO *nextp;
int n, len, rval;
int n, rval;
struct find_t dirp;
/* struct passwd *pwd; -- From author support */
struct stat sbuf;
@ -1201,7 +1200,6 @@ static int enum_ufs_prop(char *dir, char *name, char *ver, FINFO **finfo_buf)
FINFO *prevp;
FINFO *nextp;
int n, rval;
size_t len;
DIR *dirp;
/* struct passwd *pwd; -- From author support */
struct stat sbuf;
@ -1347,7 +1345,6 @@ static int enum_ufs(char *dir, char *name, char *ver, FINFO **finfo_buf)
}
strlcpy(namebuf, dirp.name, sizeof(namebuf));
len = strlen(namebuf);
nextp->ino = sbuf.st_ino;
n++;
}
@ -1361,7 +1358,6 @@ static int enum_ufs(char *dir, char *name, char *ver, FINFO **finfo_buf)
FINFO *prevp;
FINFO *nextp;
int n, rval;
size_t len;
DIR *dirp;
struct stat sbuf;
char namebuf[MAXPATHLEN];