summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-24 11:26:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-24 11:26:13 +0000
commit5b228decd52056710fb41a216d742960f167662c (patch)
treed019583b72d03241f751800c8838e15f50bdaee7 /l10ntools
parent47f8f727f148e69180ad29e73c7ae8683ea27f23 (diff)
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/source/helpmerge.cxx2
-rw-r--r--l10ntools/source/merge.cxx2
2 files changed, 0 insertions, 4 deletions
diff --git a/l10ntools/source/helpmerge.cxx b/l10ntools/source/helpmerge.cxx
index 67bc2b856b6b..d650f3b41e28 100644
--- a/l10ntools/source/helpmerge.cxx
+++ b/l10ntools/source/helpmerge.cxx
@@ -595,7 +595,6 @@ void HelpParser::ProcessHelp( LangHashMap* aLangHM , const ByteString& sCur , Re
XMLElement* pXMLElement = NULL;
PFormEntrys *pEntrys = NULL;
XMLData *data = NULL;
- XMLParentNode *parent = NULL;
String sNewdata;
ByteString sLId;
@@ -615,7 +614,6 @@ void HelpParser::ProcessHelp( LangHashMap* aLangHM , const ByteString& sCur , Re
}
if( pXMLElement != NULL )
{
- parent = pXMLElement->GetParent();
sLId = pXMLElement->GetOldref();
pResData->sId = sLId;
diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx
index ca0ce7e01776..b85a75461926 100644
--- a/l10ntools/source/merge.cxx
+++ b/l10ntools/source/merge.cxx
@@ -402,7 +402,6 @@ void MergeDataFile::InsertEntry(
/*****************************************************************************/
{
MergeData *pData;
- BOOL bFound = FALSE;
// uniquify the filename to save memory.
ByteStringHashMap::const_iterator fit = aFilenames.find (rInFilename);
@@ -425,7 +424,6 @@ void MergeDataFile::InsertEntry(
aMap.insert( MergeDataHashMap::value_type( sKey, pData ) );
}
- bFound = FALSE;
PFormEntrys *pFEntrys = 0;
// search for PFormEntrys