From b570b6fa9e85fd2d0881fb9ddb2b2e4d47156748 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 13 Nov 2013 16:20:32 +0100 Subject: Comment out unused variables to prevent warnings --- src/recode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/recode.c') 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; -- cgit v1.2.3