cppcheck: unreadVariable
Change-Id: Ifbcae35c0cf3bdb9ba5c680b1627117c47d6c9a0
This commit is contained in:
parent
c2518d1ffb
commit
94bc78d2d4
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user