mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:30:50 +00:00
scrobj: Add a missing return value check (Coverity).
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
dd9d2bdbbd
commit
43eb22c57f
|
@ -1695,6 +1695,8 @@ static HRESULT parse_scriptlet_file(struct scriptlet_factory *factory, const WCH
|
|||
hres = next_xml_node(factory, &node_type);
|
||||
if (hres == S_OK && node_type == XmlNodeType_XmlDeclaration)
|
||||
hres = next_xml_node(factory, &node_type);
|
||||
if (FAILED(hres))
|
||||
return hres;
|
||||
|
||||
if (node_type != XmlNodeType_Element || !is_xml_name(factory, L"component"))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue