mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
windows build fixes.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5767 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -349,8 +349,6 @@ SWITCH_DECLARE(void) switch_channel_variable_last(switch_channel_t *channel)
|
||||
|
||||
SWITCH_DECLARE(switch_event_header_t *) switch_channel_variable_first(switch_channel_t *channel)
|
||||
{
|
||||
switch_event_header_t *hi;
|
||||
|
||||
assert(channel != NULL);
|
||||
if (channel->vi) {
|
||||
return NULL;
|
||||
@@ -359,8 +357,6 @@ SWITCH_DECLARE(switch_event_header_t *) switch_channel_variable_first(switch_cha
|
||||
switch_mutex_lock(channel->profile_mutex);
|
||||
channel->vi = 1;
|
||||
return channel->variables->headers;
|
||||
|
||||
return hi;
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user