aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2009-04-20 19:27:50 +0000
committerMax Horn2009-04-20 19:27:50 +0000
commit0f2ffdf456295fe9d79c3bfb9810ceac024a295e (patch)
tree379f0babe51f7027ea9560e7601e089770969975
parenta64b49c73b94f5a7703805d4add9369722bfb663 (diff)
downloadscummvm-rg350-0f2ffdf456295fe9d79c3bfb9810ceac024a295e.tar.gz
scummvm-rg350-0f2ffdf456295fe9d79c3bfb9810ceac024a295e.tar.bz2
scummvm-rg350-0f2ffdf456295fe9d79c3bfb9810ceac024a295e.zip
SCI: cleanup
svn-id: r40029
-rw-r--r--engines/sci/scicore/vocabulary.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/engines/sci/scicore/vocabulary.cpp b/engines/sci/scicore/vocabulary.cpp
index 2190062510..76fbf292fc 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) {