diff options
author | June McEnroe <programble@gmail.com> | 2017-08-13 14:38:33 -0400 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2017-08-13 14:38:33 -0400 |
commit | f96dcf480e66d5a9a3d88c9fb7827d81ab3cfa77 (patch) | |
tree | 51556522ba38caff1291304f51cd6a792345895f | |
parent | Check COLOR_PAIRS in client (diff) | |
download | torus-f96dcf480e66d5a9a3d88c9fb7827d81ab3cfa77.tar.gz torus-f96dcf480e66d5a9a3d88c9fb7827d81ab3cfa77.zip |
Clean up unnecessary kevent initializers
-rwxr-xr-x | server.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/server.c b/server.c index c3ae650..e360067 100755 --- a/server.c +++ b/server.c @@ -279,9 +279,6 @@ int main() { .ident = server, .filter = EVFILT_READ, .flags = EV_ADD, - .fflags = 0, - .data = 0, - .udata = NULL, }; int nevents = kevent(kq, &event, 1, NULL, 0, NULL); if (nevents < 0) err(EX_OSERR, "kevent"); @@ -330,8 +327,6 @@ int main() { .ident = fd, .filter = EVFILT_READ, .flags = EV_ADD, - .fflags = 0, - .data = 0, .udata = client, }; nevents = kevent(kq, &event, 1, NULL, 0, NULL); |