diff options
Diffstat (limited to 'src/inotify/inotify.go')
-rw-r--r-- | src/inotify/inotify.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/inotify/inotify.go b/src/inotify/inotify.go index 8c99a28..6d74830 100644 --- a/src/inotify/inotify.go +++ b/src/inotify/inotify.go @@ -70,7 +70,6 @@ func (o *Inotify) Read() (Event, error) { if o.isClosed { return Event{Wd: -1}, InotifyAlreadyClosedError } - len, err := sysread(o.fd, o.buff) if len == 0 { return Event{Wd: -1}, o.Close() |