From: Chris Rienzo Date: Thu, 15 May 2014 15:12:06 +0000 (-0400) Subject: CID 1214263: mod_ssml - remove unused pointer value X-Git-Tag: v1.4.4~56 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d055f5b6df42432a08349836d68658c68ceabe87;p=thirdparty%2Ffreeswitch.git CID 1214263: mod_ssml - remove unused pointer value --- diff --git a/src/mod/formats/mod_ssml/mod_ssml.c b/src/mod/formats/mod_ssml/mod_ssml.c index 8a841d48cd..0ca4bc911b 100644 --- a/src/mod/formats/mod_ssml/mod_ssml.c +++ b/src/mod/formats/mod_ssml/mod_ssml.c @@ -330,7 +330,7 @@ static int score_voice(struct voice *voice, struct ssml_node *cur_node, int lang static struct voice *find_voice(struct ssml_node *cur_node, switch_hash_t *map, char *type, int lang_required) { switch_hash_index_t *hi = NULL; - struct voice *voice = (struct voice *)switch_core_hash_find(map, cur_node->name); + struct voice *voice = NULL; char *lang_name_gender = NULL; int best_score = 0;