summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/storage/tag_utility.cpp4
-rw-r--r--src/storage/tag_utility.h14
2 files changed, 4 insertions, 14 deletions
diff --git a/src/storage/tag_utility.cpp b/src/storage/tag_utility.cpp
index 2701934..081e931 100644
--- a/src/storage/tag_utility.cpp
+++ b/src/storage/tag_utility.cpp
@@ -308,6 +308,8 @@ bool taglib_fini(){
return true;
}
+#if 0
+
static phrase_token_t taglib_special_string_to_token(const char * string){
struct token_pair{
phrase_token_t token;
@@ -355,6 +357,8 @@ phrase_token_t taglib_string_to_token(PhraseLargeTable2 * phrase_table,
return token;
}
+#endif
+
static const char * taglib_special_token_to_string(phrase_token_t token){
struct token_pair{
phrase_token_t token;
diff --git a/src/storage/tag_utility.h b/src/storage/tag_utility.h
index 68e298d..ceb1d6c 100644
--- a/src/storage/tag_utility.h
+++ b/src/storage/tag_utility.h
@@ -116,20 +116,6 @@ class FacadePhraseIndex;
/**
- * taglib_string_to_token:
- * @phrase_table: the phrase table for token lookup.
- * @phrase_index: the phrase index to prepare PhraseTokens.
- * @string: the string of the phrase.
- * @returns: the phrase token found in phrase table.
- *
- * Translate one phrase into the token.
- *
- */
-phrase_token_t taglib_string_to_token(PhraseLargeTable2 * phrase_table,
- FacadePhraseIndex * phrase_index,
- const char * string);
-
-/**
* taglib_token_to_string:
* @phrase_index: the phrase index for phrase string lookup.
* @token: the phrase token.