diff --git a/src/lib9/create.c b/src/lib9/create.c index 59845ba91f8..d7023aea029 100644 --- a/src/lib9/create.c +++ b/src/lib9/create.c @@ -37,9 +37,8 @@ THE SOFTWARE. int p9create(char *path, int mode, ulong perm) { - int fd, umode, rclose, rdwr; + int fd, umode, rclose; - rdwr = mode&3; rclose = mode&ORCLOSE; mode &= ~ORCLOSE;