summaryrefslogtreecommitdiffstats
path: root/src/recode.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2013-11-13 16:20:32 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2013-11-13 16:20:32 +0100
commitb570b6fa9e85fd2d0881fb9ddb2b2e4d47156748 (patch)
treeba80170ae7d5ac5c5c50425269a706d84c55d8ca /src/recode.c
parent33b7af2945685a1efecfee579ddef2c78cd9d43a (diff)
downloadlibrcc-b570b6fa9e85fd2d0881fb9ddb2b2e4d47156748.tar.gz
librcc-b570b6fa9e85fd2d0881fb9ddb2b2e4d47156748.tar.bz2
librcc-b570b6fa9e85fd2d0881fb9ddb2b2e4d47156748.tar.xz
librcc-b570b6fa9e85fd2d0881fb9ddb2b2e4d47156748.zip
Comment out unused variables to prevent warnings
Diffstat (limited to 'src/recode.c')
-rw-r--r--src/recode.c4
1 files changed, 2 insertions, 2 deletions
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;