]> go.fuhry.dev Git - fsnotify.git/commit
Don't set poller.fd twice in newFdPoller (#406)
authorTobias Klauser <tklauser@distanz.ch>
Wed, 19 Jan 2022 14:22:52 +0000 (15:22 +0100)
committerGitHub <noreply@github.com>
Wed, 19 Jan 2022 14:22:52 +0000 (09:22 -0500)
commit508ee5e549cd81e65dc770b3b9dd25c7fc147239
treeaa8e921e5932fba4bb8085e60b7a9c472dbaebdb
parentc11d74b532c119e42328e596d5a6b6605706662d
Don't set poller.fd twice in newFdPoller (#406)

In newEmptyPoller when creating the poller using newEmptyPoller(fd), the
fd field of the poller instance is already set. There is no need to set
it again.
inotify_poller.go