From 5f7d0b65b0a48112c2ca66fb49da3774305a71f1 Mon Sep 17 00:00:00 2001
From: Michael Jerris <mike@jerris.com>
Date: Thu, 3 Dec 2009 14:05:03 +0000
Subject: [PATCH] code before decl

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15770 d0543943-73ff-0310-b7d9-9358b9ac24b2
---
 src/switch_rtp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/switch_rtp.c b/src/switch_rtp.c
index 65793adaa6..88ef813351 100644
--- a/src/switch_rtp.c
+++ b/src/switch_rtp.c
@@ -580,9 +580,9 @@ SWITCH_DECLARE(void) switch_rtp_init(switch_memory_pool_t *pool)
 #ifdef ENABLE_ZRTP
 	const char *zid_string = switch_core_get_variable("switch_serial");
 	const char *zrtp_enabled = switch_core_get_variable("zrtp_enabled");
-	zrtp_on = zrtp_enabled ? switch_true(zrtp_enabled) : 0;
 	zrtp_config_t zrtp_config;
 	char zrtp_cache_path[256] = "";
+	zrtp_on = zrtp_enabled ? switch_true(zrtp_enabled) : 0;
 #endif
 	if (global_init) {
 		return;