aboutsummaryrefslogtreecommitdiff
path: root/lib/xixanta
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-18 11:16:09 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-18 11:16:09 +0100
commit6f917d1f58c7b87502e1c94cfff2a4badbb80287 (patch)
treee73cd1f772180eead380a658d83655de59b1d64f /lib/xixanta
parent03dae41b2ec20905af780bbcf5c033f683f19efb (diff)
downloadtools.nes-6f917d1f58c7b87502e1c94cfff2a4badbb80287.tar.gz
tools.nes-6f917d1f58c7b87502e1c94cfff2a4badbb80287.zip
Remove unneeded Ok call
Fixes: 03dae41b2ec2 ("Prevent addresses which are out of bounds") Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'lib/xixanta')
-rw-r--r--lib/xixanta/src/object.rs2
1 files changed, 1 insertions, 1 deletions
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