[svn-commits] rizzo: trunk r89108 - /trunk/channels/chan_unistim.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Nov 8 03:15:06 CST 2007
Author: rizzo
Date: Thu Nov 8 03:15:05 2007
New Revision: 89108
URL: http://svn.digium.com/view/asterisk?view=rev&rev=89108
Log:
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.
Modified:
trunk/channels/chan_unistim.c
Modified: trunk/channels/chan_unistim.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_unistim.c?view=diff&rev=89108&r1=89107&r2=89108
==============================================================================
--- trunk/channels/chan_unistim.c (original)
+++ trunk/channels/chan_unistim.c Thu Nov 8 03:15:05 2007
@@ -935,7 +935,7 @@
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);
More information about the svn-commits
mailing list