Commit 1a821b32 authored by Russ Cox's avatar Russ Cox

noted by kaib: explicit assignment initialization

didn't match the composite literal initialization.

R=r
CC=kaib
http://go/go-review/1024039
parent 6c7f9f63
...@@ -822,7 +822,6 @@ func NewFile(fd int, name string) *File { ...@@ -822,7 +822,6 @@ func NewFile(fd int, name string) *File {
f := new(File); f := new(File);
f.fd = fd; f.fd = fd;
f.name = name; f.name = name;
f.error = nil;
f.dirinfo = nil; f.dirinfo = nil;
f.nepipe = 0; f.nepipe = 0;
return f; return f;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment