]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Fix a compiler warning
authorMark Michelson <mmichelson@digium.com>
Mon, 31 Dec 2007 18:46:12 +0000 (18:46 +0000)
committerMark Michelson <mmichelson@digium.com>
Mon, 31 Dec 2007 18:46:12 +0000 (18:46 +0000)
(closes issue #11658, reported and patched by eliel)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95443 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_meetme.c

index 5107b7f8291df81a3e286cf7c03573ffd3fb5e27..f7cbfae8ff15b5016469eabd0e9a0486a92ed2a2 100644 (file)
@@ -2696,7 +2696,7 @@ static struct ast_conference *find_conf_realtime(struct ast_channel *chan, char
                char useropts[32] = "";
                char adminopts[32] = "";
                struct ast_tm tm, etm;
-               struct timeval starttime, endtime;
+               struct timeval starttime = { .tv_sec=0 }, endtime = { .tv_sec=0 };
 
                if (rt_schedule) {
                        now = ast_tvnow();