From: Chris Rienzo Date: Thu, 15 May 2014 15:12:06 +0000 (-0400) Subject: CID 1214263: mod_ssml - remove unused pointer value X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f56654aefa82aa86014fbec7054a99508a986fa;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 ae2670a74c..ac7a01c288 100644 --- a/src/mod/formats/mod_ssml/mod_ssml.c +++ b/src/mod/formats/mod_ssml/mod_ssml.c @@ -326,7 +326,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;