From 6f917d1f58c7b87502e1c94cfff2a4badbb80287 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 18 Dec 2024 11:16:09 +0100 Subject: Remove unneeded Ok call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: 03dae41b2ec2 ("Prevent addresses which are out of bounds") Signed-off-by: Miquel Sabaté Solà --- lib/xixanta/src/object.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/xixanta/src/object.rs') diff --git a/lib/xixanta/src/object.rs b/lib/xixanta/src/object.rs index f319fe3..3d0c9e7 100644 --- a/lib/xixanta/src/object.rs +++ b/lib/xixanta/src/object.rs @@ -375,7 +375,7 @@ impl Context { // Everything should be fine from here on, simply return the bundle that // was being referenced. - Ok(self.resolve_label(mappings, &labels[idx as usize])?) + self.resolve_label(mappings, &labels[idx as usize]) } // Pushes a new context given a `node`, which holds the identifier of the -- cgit v1.2.3