netsurf: remove useless var

This commit is contained in:
Pierre Tachoire
2023-10-17 14:08:11 +02:00
parent ebb5afe914
commit 82bcf226c2

View File

@@ -246,9 +246,7 @@ pub fn nodeListItem(nodeList: *NodeList, index: u32) ?*Node {
}
// cast [*c]c.struct_dom_node into *Node
const res: *Node = @ptrCast(n);
return res;
return @as(*Node, @ptrCast(n));
}
// Node