mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 07:03:29 +00:00
netsurf: remove useless var
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user