aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-08 09:15:05 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-08 09:15:05 +0000
commit4aead04f819c894e403169e126954975246d7b13 (patch)
tree9f042afe4060997b73d6aafa8ec02c564fa5ef48 /channels
parent5dcb16ced9e580bb999b28d6fe366ccf634d5153 (diff)
initialize a variable to silence compiler.
The type of warnings emitted depends on the optimization level, at the lower levels the compiler doesn't always understand what the programmer has in mind. In this case I could not understand it either. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89108 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_unistim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_unistim.c b/channels/chan_unistim.c
index 822561380..9909dea79 100644
--- a/channels/chan_unistim.c
+++ b/channels/chan_unistim.c
@@ -935,7 +935,7 @@ static void send_end_call(struct unistimsession *pte)
static void set_ping_timer(struct unistimsession *pte)
{
- unsigned int tick;
+ unsigned int tick = 0; /* XXX what is this for, anyways */
pte->timeout = pte->tick_next_ping;
DEBUG_TIMER("tick = %u next ping at %u tick\n", tick, pte->timeout);