diff --git a/lib/util/fd_group.c b/lib/util/fd_group.c index d3f910467..217ca43f1 100644 --- a/lib/util/fd_group.c +++ b/lib/util/fd_group.c @@ -85,8 +85,8 @@ int spdk_fd_group_add(struct spdk_fd_group *fgrp, int efd, spdk_fd_fn fn, void *arg) { - struct event_handler *ehdlr; - struct epoll_event epevent; + struct event_handler *ehdlr = NULL; + struct epoll_event epevent = {0}; int rc; /* parameter checking */