]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
declaration after code.
authorMichael Jerris <mike@jerris.com>
Thu, 31 May 2007 13:32:23 +0000 (13:32 +0000)
committerMichael Jerris <mike@jerris.com>
Thu, 31 May 2007 13:32:23 +0000 (13:32 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5235 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core_session.c

index 7dec0c428053762901e19efbf10a3f0f0a071750..8a77f8534401e19a0ae1b9134d57fbe6a4a969a0 100644 (file)
@@ -718,11 +718,12 @@ static void *SWITCH_THREAD_FUNC switch_core_session_thread(switch_thread_t * thr
 
 SWITCH_DECLARE(switch_status_t) switch_core_session_thread_launch(switch_core_session_t *session)
 {
+       switch_status_t status = SWITCH_STATUS_FALSE;
        switch_thread_t *thread;
        switch_threadattr_t *thd_attr;;
+
        switch_threadattr_create(&thd_attr, session->pool);
        switch_threadattr_detach_set(thd_attr, 1);
-       switch_status_t status = SWITCH_STATUS_FALSE;
 
        switch_mutex_lock(session->mutex);