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 --- examples/example2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples') diff --git a/examples/example2.c b/examples/example2.c index ebe75a9..13c280e 100644 --- a/examples/example2.c +++ b/examples/example2.c @@ -26,7 +26,7 @@ int main(int argc, char *argv[]) { - rcc_language_id language_id, current_language_id, english_language_id; +// rcc_language_id language_id, current_language_id, english_language_id; rcc_string rccstring; const char *language; char buf[255]; @@ -48,11 +48,11 @@ int main(int argc, char *argv[]) { // rccSetOption(NULL, RCC_OPTION_TIMEOUT, 5000000); // rccSetOption(NULL, RCC_OPTION_CONFIGURED_LANGUAGES_ONLY, 0); - current_language_id = rccGetCurrentLanguage(NULL); - english_language_id = rccGetLanguageByName(NULL, "en"); +// current_language_id = rccGetCurrentLanguage(NULL); +// english_language_id = rccGetLanguageByName(NULL, "en"); if (argc>1) rccSetLanguageByName(NULL, argv[1]); else rccSetOption(NULL, RCC_OPTION_AUTODETECT_LANGUAGE, 1); - language_id = rccGetCurrentLanguage(NULL); +// language_id = rccGetCurrentLanguage(NULL); language = rccGetCurrentLanguageName(NULL); if (language) printf("Current Language: %s\n\n", language); -- cgit v1.2.3