fix build on msvc.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5037 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2007-04-29 01:51:32 +00:00
parent ffb254ad49
commit ac065100b6
2 changed files with 3 additions and 3 deletions

View File

@@ -354,8 +354,8 @@ SWITCH_DECLARE(switch_status_t) switch_channel_set_private(switch_channel_t *cha
SWITCH_DECLARE(void *) switch_channel_get_private(switch_channel_t *channel, char *key)
{
assert(channel != NULL);
void *val;
assert(channel != NULL);
switch_mutex_lock(channel->profile_mutex);
val = switch_core_hash_find(channel->private_hash, key);
switch_mutex_unlock(channel->profile_mutex);