Skip to content

Commit

Permalink
xxx clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
wbenny committed Dec 13, 2024
1 parent e5c61f7 commit c591333
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions crates/vmi-os-windows/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2026,7 +2026,7 @@ where
}
}

return Ok(None);
Ok(None)
}

/// Retrieves the root directory object for the Windows kernel.
Expand Down Expand Up @@ -3286,11 +3286,7 @@ where
) -> Result<impl Iterator<Item = Result<Va, VmiError>> + 'a, VmiError> {
let root = self.vad_root(vmi, registers, process)?;

Ok(TreeNodeIterator::new(
VmiSession::new(vmi, self),
registers,
root,
)?)
TreeNodeIterator::new(VmiSession::new(vmi, self), registers, root)
}

/// Returns the process object iterator.
Expand Down

0 comments on commit c591333

Please sign in to comment.