dect
/
asterisk
Archived
13
0
Fork 0

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
This commit is contained in:
rizzo 2007-11-08 09:15:05 +00:00
parent 5dcb16ced9
commit 4aead04f81
1 changed files with 1 additions and 1 deletions

View File

@ -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);