1
0
mirror of https://github.com/golang/go synced 2024-11-24 23:07:56 -07:00

lib9/create.c: delete unused variable

fixes build with GCC4.6

R=adg
CC=golang-dev
https://golang.org/cl/4396048
This commit is contained in:
Rob Pike 2011-04-13 23:12:48 -07:00
parent b065b56da1
commit 2fca1a4049

View File

@ -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;