#ifdef MOD_UNIMRCP_DEBUG_AUDIO_QUEUE
int flags;
#endif
- char *lname = "";
+ char *lname;
char *lsession_uuid = NULL;
*audio_queue = NULL;
lname = zstr(name) ? "" : switch_core_strdup(pool, name);
lsession_uuid = zstr(session_uuid) ? NULL : switch_core_strdup(pool, session_uuid);
- if (zstr(name)) {
- lname = "";
- } else {
- lname = switch_core_strdup(pool, name);
- }
-
if ((laudio_queue = (audio_queue_t *) switch_core_alloc(pool, sizeof(audio_queue_t))) == NULL) {
switch_log_printf(SWITCH_CHANNEL_UUID_LOG(lsession_uuid), SWITCH_LOG_ERROR, "(%s) unable to create audio queue\n", lname);
status = SWITCH_STATUS_FALSE;