summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-24 16:59:40 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-24 21:20:18 +0200
commit94bc78d2d4d51bb56cce0ea3af3cedd2f26cdd8d (patch)
tree7ffbc0c645553bc526c5b6ae88671213619f6881 /test
parentc2518d1ffb1d8eafa3385e4c9451a56584806b16 (diff)
cppcheck: unreadVariable
Change-Id: Ifbcae35c0cf3bdb9ba5c680b1627117c47d6c9a0
Diffstat (limited to 'test')
-rw-r--r--test/source/mtfxmldump.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/source/mtfxmldump.cxx b/test/source/mtfxmldump.cxx
index 95bdba46bcea..e1a6abdff0f3 100644
--- a/test/source/mtfxmldump.cxx
+++ b/test/source/mtfxmldump.cxx
@@ -162,8 +162,6 @@ void MetafileXmlDump::filterNoneActionTypes()
void MetafileXmlDump::dump(GDIMetaFile& rMetaFile)
{
- std::vector<bool> usedIds(512, false);
-
xmlOutputBufferPtr xmlOutBuffer = xmlOutputBufferCreateIO(lclWriteCallback, lclCloseCallback, &mrStream, NULL);
xmlTextWriterPtr xmlWriter = xmlNewTextWriter( xmlOutBuffer );
xmlTextWriterSetIndent( xmlWriter, 1 );
@@ -178,8 +176,6 @@ void MetafileXmlDump::dump(GDIMetaFile& rMetaFile)
if (maFilter[nActionType])
continue;
- usedIds[nActionType] = true;
-
switch (nActionType)
{
case META_LINE_ACTION: