diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-24 16:59:40 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-24 21:20:18 +0200 |
commit | 94bc78d2d4d51bb56cce0ea3af3cedd2f26cdd8d (patch) | |
tree | 7ffbc0c645553bc526c5b6ae88671213619f6881 /test | |
parent | c2518d1ffb1d8eafa3385e4c9451a56584806b16 (diff) |
cppcheck: unreadVariable
Change-Id: Ifbcae35c0cf3bdb9ba5c680b1627117c47d6c9a0
Diffstat (limited to 'test')
-rw-r--r-- | test/source/mtfxmldump.cxx | 4 |
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: |