summaryrefslogtreecommitdiff
path: root/src/lib9/create.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib9/create.c')
-rw-r--r--src/lib9/create.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib9/create.c b/src/lib9/create.c
index 59845ba91..d7023aea0 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;