mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-12 20:28:20 +00:00
Remove Xml_node::attribute accessors
This patch removes the two 'Xml_node::attribute' accessors along with the 'Nonexistent_attribute' exception. Issue #5245 Fixes #5246
This commit is contained in:
@ -394,18 +394,7 @@ class Vfs::Dir_file_system : public File_system
|
||||
continue;
|
||||
}
|
||||
|
||||
Genode::error("failed to create <", sub_node.type(), "> VFS node");
|
||||
try {
|
||||
for (unsigned i = 0; i < 16; ++i) {
|
||||
|
||||
Xml_attribute const attr = sub_node.attribute(i);
|
||||
|
||||
String<64> value { };
|
||||
attr.value(value);
|
||||
|
||||
Genode::error("\t", attr.name(), "=\"", value, "\"");
|
||||
}
|
||||
} catch (Xml_node::Nonexistent_attribute) { }
|
||||
Genode::error("failed to create VFS node: ", sub_node);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user