cppcheck: unreadVariable

Change-Id: Ifbcae35c0cf3bdb9ba5c680b1627117c47d6c9a0
This commit is contained in:
Thomas Arnhold 2014-05-24 16:59:40 +02:00
parent c2518d1ffb
commit 94bc78d2d4

View File

@ -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: