Kaydet (Commit) 94bc78d2 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

cppcheck: unreadVariable

Change-Id: Ifbcae35c0cf3bdb9ba5c680b1627117c47d6c9a0
üst c2518d1f
...@@ -162,8 +162,6 @@ void MetafileXmlDump::filterNoneActionTypes() ...@@ -162,8 +162,6 @@ void MetafileXmlDump::filterNoneActionTypes()
void MetafileXmlDump::dump(GDIMetaFile& rMetaFile) void MetafileXmlDump::dump(GDIMetaFile& rMetaFile)
{ {
std::vector<bool> usedIds(512, false);
xmlOutputBufferPtr xmlOutBuffer = xmlOutputBufferCreateIO(lclWriteCallback, lclCloseCallback, &mrStream, NULL); xmlOutputBufferPtr xmlOutBuffer = xmlOutputBufferCreateIO(lclWriteCallback, lclCloseCallback, &mrStream, NULL);
xmlTextWriterPtr xmlWriter = xmlNewTextWriter( xmlOutBuffer ); xmlTextWriterPtr xmlWriter = xmlNewTextWriter( xmlOutBuffer );
xmlTextWriterSetIndent( xmlWriter, 1 ); xmlTextWriterSetIndent( xmlWriter, 1 );
...@@ -178,8 +176,6 @@ void MetafileXmlDump::dump(GDIMetaFile& rMetaFile) ...@@ -178,8 +176,6 @@ void MetafileXmlDump::dump(GDIMetaFile& rMetaFile)
if (maFilter[nActionType]) if (maFilter[nActionType])
continue; continue;
usedIds[nActionType] = true;
switch (nActionType) switch (nActionType)
{ {
case META_LINE_ACTION: case META_LINE_ACTION:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment