From b844b3d6b17ad9e77615923bc5d024dd1769a80a Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Thu, 9 Aug 2012 21:37:38 +0200 Subject: [PATCH] lt_tag_dump() only used to debug [-Werror=unused-function] --- i18npool/source/languagetag/languagetag.cxx | 4 ++-- i18npool/source/languagetag/simple-langtag.cxx | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/i18npool/source/languagetag/languagetag.cxx b/i18npool/source/languagetag/languagetag.cxx index d7c6b0f79f68..caaf0cc9418f 100644 --- a/i18npool/source/languagetag/languagetag.cxx +++ b/i18npool/source/languagetag/languagetag.cxx @@ -13,6 +13,8 @@ #include #include +//#define erDEBUG + #if !defined(ANDROID) && !defined(IOS) #include #else @@ -24,8 +26,6 @@ #include "simple-langtag.cxx" #endif -//#define erDEBUG - using rtl::OUString; using rtl::OString; using rtl::OUStringBuffer; diff --git a/i18npool/source/languagetag/simple-langtag.cxx b/i18npool/source/languagetag/simple-langtag.cxx index 7fd735e04d22..d05ab4236a4b 100644 --- a/i18npool/source/languagetag/simple-langtag.cxx +++ b/i18npool/source/languagetag/simple-langtag.cxx @@ -397,6 +397,7 @@ static void lt_tag_dump(const lt_tag_t *tag) fprintf( stderr, "SimpleLangtag region: %s\n", tag->maRegion.mpStr); } #endif + } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */