From 0f2ffdf456295fe9d79c3bfb9810ceac024a295e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 20 Apr 2009 19:27:50 +0000 Subject: [PATCH] SCI: cleanup svn-id: r40029 --- engines/sci/scicore/vocabulary.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/engines/sci/scicore/vocabulary.cpp b/engines/sci/scicore/vocabulary.cpp index 21900625104..76fbf292fce 100644 --- a/engines/sci/scicore/vocabulary.cpp +++ b/engines/sci/scicore/vocabulary.cpp @@ -137,11 +137,6 @@ bool vocab_get_words(ResourceManager *resmgr, WordMap &words) { seeker += 3; } - -// FIXME: Sort the list. -// Or even switch it to a hashmap? -// qsort(words, counter, sizeof(word_t *), _vocab_cmp_words); // Sort entries - return true; } @@ -199,8 +194,7 @@ void vocab_free_suffixes(ResourceManager *resmgr, SuffixList &suffixes) { } void vocab_free_branches(parse_tree_branch_t *parser_branches) { - if (parser_branches) - free(parser_branches); + free(parser_branches); } parse_tree_branch_t *vocab_get_branches(ResourceManager * resmgr, int *branches_nr) {