From: Jaroslav Kysela Date: Sat, 6 Dec 2014 15:30:47 +0000 (+0100) Subject: tvhpoll: cosmetic chage for cppcheck X-Git-Tag: v4.1~639 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b87eb898c8fccd5f42d104f28022c350bd19f258;p=thirdparty%2Ftvheadend.git tvhpoll: cosmetic chage for cppcheck --- diff --git a/src/tvhpoll.c b/src/tvhpoll.c index 44e47182f..c6e3d85c6 100644 --- a/src/tvhpoll.c +++ b/src/tvhpoll.c @@ -82,6 +82,7 @@ tvhpoll_create ( size_t n ) return NULL; } #else + fd = -1; #endif tvhpoll_t *tp = calloc(1, sizeof(tvhpoll_t)); tp->fd = fd;