]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
suppress a compiler warning about the usage of a potentially uninitialized variable
authorRussell Bryant <russell@russellbryant.com>
Sat, 5 Aug 2006 05:07:39 +0000 (05:07 +0000)
committerRussell Bryant <russell@russellbryant.com>
Sat, 5 Aug 2006 05:07:39 +0000 (05:07 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@38903 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index efc099b0d33edb87f8e4767dd09e98148be182c3..830def79600e8f49296828cfd518487fe4aa0c01 100644 (file)
--- a/channel.c
+++ b/channel.c
@@ -3440,7 +3440,7 @@ enum ast_bridge_result ast_channel_bridge(struct ast_channel *c0, struct ast_cha
        }
 
        for (/* ever */;;) {
-               struct timeval now;
+               struct timeval now = { 0, };
                int to;
 
                to = -1;