get rid of a warning
authorRussell Bryant <russell@russellbryant.com>
Mon, 25 Jul 2005 17:27:36 +0000 (17:27 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 25 Jul 2005 17:27:36 +0000 (17:27 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6189 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index 71c6c85..e68f432 100755 (executable)
--- a/channel.c
+++ b/channel.c
@@ -1120,7 +1120,7 @@ int ast_activate_generator(struct ast_channel *chan, struct ast_generator *gen,
 int ast_waitfor_n_fd(int *fds, int n, int *ms, int *exception)
 {
        /* Wait for x amount of time on a file descriptor to have input.  */
-       struct timeval start;
+       struct timeval start = { 0 , 0 };
        int res;
        int x, y;
        int winner = -1;