summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lngconfig.c4
-rw-r--r--src/recode.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/lngconfig.c b/src/lngconfig.c
index 2b38e03..73b555b 100644
--- a/src/lngconfig.c
+++ b/src/lngconfig.c
@@ -604,7 +604,7 @@ rcc_charset_id rccConfigGetCurrentCharset(rcc_language_config config, rcc_class_
rcc_class_default_charset *defcharset;
const char *lang;
- rcc_language *language;
+// rcc_language *language;
rcc_class_ptr *classes;
rcc_class *cl;
@@ -626,7 +626,7 @@ rcc_charset_id rccConfigGetCurrentCharset(rcc_language_config config, rcc_class_
}
if (!config->language) return (rcc_charset_id)-1;
- else language = config->language;
+// else language = config->language;
classes = config->ctx->classes;
diff --git a/src/recode.c b/src/recode.c
index 3b1bc02..f2b0c20 100644
--- a/src/recode.c
+++ b/src/recode.c
@@ -70,7 +70,7 @@ static rcc_language_id rccDetectLanguageInternal(rcc_context ctx, rcc_class_id c
rcc_option_value usedb4;
rcc_language_id bestlang = (rcc_language_id)-1;
size_t bestlongest = RCC_ACCEPTABLE_LENGTH;
- size_t bestownlongest = RCC_ACCEPTABLE_LENGTH;
+// size_t bestownlongest = RCC_ACCEPTABLE_LENGTH;
unsigned long bestown = 0;
double bestres = RCC_ACCEPTABLE_PROBABILITY;
char *best_string = NULL;
@@ -224,7 +224,7 @@ static rcc_language_id rccDetectLanguageInternal(rcc_context ctx, rcc_class_id c
bestlongest = longest;
best_string = recoded;
bestown = own;
- bestownlongest = ownlongest;
+// bestownlongest = ownlongest;
if ((ownres > RCC_REQUIRED_PROBABILITY)&&(ownlongest > RCC_REQUIRED_LENGTH)) {
bestfixlang = bestlang;