Skip to content

Commit

Permalink
fix unused warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
xxshady committed Feb 13, 2025
1 parent 19b50a9 commit 09b7cc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions altvup/src/rust_module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ fn rust_module_target_path() -> String {
format!("{TARGET_DIRECTORY}/{}", rust_module_lib_name())
}

#[cfg(windows)]
fn rust_module_pdb_target_path() -> String {
format!("{TARGET_DIRECTORY}/altv_module.pdb")
}
1 change: 1 addition & 0 deletions core_resource/src/base_objects/objects.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ macro_rules! base_objects {
)+ }

impl AnyBaseObject {
#[cfg(feature = "reloading")]
pub(crate) fn raw_base_ptr(&self) -> SomeResult<altv_sdk::BaseObjectRawMutPtr> {
match self { $(
Self::$manager_name(container) => {
Expand Down

0 comments on commit 09b7cc0

Please sign in to comment.