]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
tvhpoll: cosmetic chage for cppcheck
authorJaroslav Kysela <perex@perex.cz>
Sat, 6 Dec 2014 15:30:47 +0000 (16:30 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 6 Dec 2014 15:30:47 +0000 (16:30 +0100)
src/tvhpoll.c

index 44e47182fb66954caf2acff23290d5b777801eba..c6e3d85c62dbc6041e69c700c2922aeab2321b94 100644 (file)
@@ -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;