summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-04-18 09:43:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-04-18 14:03:12 +0100
commita0fc0182efb3ce1daea5cfe70ce2e3a6f4996709 (patch)
treecac3c30f4dbe7d1c395f0495a7b350266e694cdb /l10ntools
parent3339789afd583249fbab09435c81398669b4343b (diff)
cppcheck: unused variables
Change-Id: Ief3d2cd7af2047e49ea026d8a94d7532769a820c
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/gConvSrc.cxx2
-rw-r--r--l10ntools/source/gLang.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/gConvSrc.cxx b/l10ntools/source/gConvSrc.cxx
index 1ce32ad57d24..2be9ce6a5f2b 100644
--- a/l10ntools/source/gConvSrc.cxx
+++ b/l10ntools/source/gConvSrc.cxx
@@ -159,7 +159,7 @@ void convert_src::setList(char *syyText)
void convert_src::setNL(char *syyText, bool bMacro)
{
int nL;
- string sKey, x;
+ string sKey;
copySource(syyText);
diff --git a/l10ntools/source/gLang.cxx b/l10ntools/source/gLang.cxx
index 83177867121d..1e008c0ba343 100644
--- a/l10ntools/source/gLang.cxx
+++ b/l10ntools/source/gLang.cxx
@@ -260,7 +260,7 @@ void handler::run()
void handler::loadL10MEM(bool onlyTemplates)
{
string sLoad = msPoDir + "templates/";
- vector<string>::iterator siLang;
+//FIX vector<string>::iterator siLang;
// no convert
mcMemory.setConvert(false, false);
@@ -296,7 +296,7 @@ void handler::loadL10MEM(bool onlyTemplates)
void handler::runConvert()
{
vector<string>::iterator siSource;
- vector<string>::iterator siLang;
+//FIX vector<string>::iterator siLang;
// convert