From bd9382b73b18c2814ff1c1f9123dfc98e2a797e9 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 4 Apr 2008 22:03:41 +0000 Subject: [PATCH] code before declaration. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8034 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_fifo/mod_fifo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index 9f0053a65b..c40de0a72c 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -697,8 +697,9 @@ SWITCH_STANDARD_APP(fifo_function) } for (x = 0; x < custom_pop; x++) { + int temp; switch_assert(pop_list[x]); - int temp = atoi(pop_list[x]); + temp = atoi(pop_list[x]); if (temp > -1 && temp < MAX_PRI) { pop_array[x] = temp; }