Permalink
Browse files

Initialize struct

  • Loading branch information...
gonzalop committed Mar 8, 2012
1 parent 0491a2c commit 02b1ec7da97f60b3b25304c24aef280d8f6975b7
Showing with 1 addition and 0 deletions.
  1. +1 −0 mono/metadata/tpool-epoll.c
@@ -57,6 +57,7 @@ tp_epoll_modify (gpointer event_data, int fd, int operation, int events, gboolea
struct epoll_event evt;
int epoll_op;
+ memset (&evt, 0, sizeof (evt));
evt.data.fd = fd;
if ((events & MONO_POLLIN) != 0)
evt.events |= EPOLLIN;

0 comments on commit 02b1ec7

Please sign in to comment.