Skip to content

Commit 2ab90b2

Browse files
committed
Fix unused variable warning in objint.
1 parent 2c97a50 commit 2ab90b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm/src/obj/objint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ fn int_real(vm: &mut VirtualMachine, args: PyFuncArgs) -> PyResult {
615615
}
616616

617617
fn int_imag(vm: &mut VirtualMachine, args: PyFuncArgs) -> PyResult {
618-
arg_check!(vm, args, required = [(zelf, Some(vm.ctx.int_type()))]);
618+
arg_check!(vm, args, required = [(_zelf, Some(vm.ctx.int_type()))]);
619619
let value = BigInt::from(0);
620620
Ok(vm.ctx.new_int(value))
621621
}

0 commit comments

Comments
 (0)