svg_loader: removing repeated lines

The clip-path and the mask attributes are both parsed in _attrParseGNode
function, which is called in th _attrParseUseNode.
This commit is contained in:
Mira Grudzinska 2022-01-08 23:55:55 +01:00 committed by Hermet Park
parent 333ff25c7e
commit 4b0037fe6a

View file

@ -1900,10 +1900,6 @@ static bool _attrParseUseNode(void* data, const char* key, const char* value)
//after the whole file is parsed
_postponeCloneNode(loader, node, id);
}
} else if (!strcmp(key, "clip-path")) {
_handleClipPathAttr(loader, node, value);
} else if (!strcmp(key, "mask")) {
_handleMaskAttr(loader, node, value);
} else {
return _attrParseGNode(data, key, value);
}