]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
CID 1214263: mod_ssml - remove unused pointer value
authorChris Rienzo <chris.rienzo@grasshopper.com>
Thu, 15 May 2014 15:12:06 +0000 (11:12 -0400)
committerChris Rienzo <chris.rienzo@grasshopper.com>
Thu, 15 May 2014 15:12:37 +0000 (11:12 -0400)
src/mod/formats/mod_ssml/mod_ssml.c

index ae2670a74c07668a1ed9b3fad3bfc7984acde7ff..ac7a01c2886f257ed67552636634d7373a73159e 100644 (file)
@@ -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;