1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-04-19 22:36:49 +00:00

Quiet some warnings

This commit is contained in:
Joshua Goins 2025-03-23 18:17:20 -04:00
parent c29f8ad7df
commit a217823a64
3 changed files with 9 additions and 4 deletions

View file

@ -90,7 +90,7 @@ async fn verify_session(
let body_parts: Vec<&str> = body.split('\n').collect(); let body_parts: Vec<&str> = body.split('\n').collect();
let hashes = body_parts[0]; let _hashes = body_parts[0];
let expansion_versions = &body_parts[1..body_parts.len() - 1]; // last part is empty let expansion_versions = &body_parts[1..body_parts.len() - 1]; // last part is empty
let game_version = Version(&game_version); let game_version = Version(&game_version);
@ -170,8 +170,8 @@ async fn verify_boot(
let patch_list = PatchList { let patch_list = PatchList {
id: "477D80B1_38BC_41d4_8B48_5273ADB89CAC".to_string(), id: "477D80B1_38BC_41d4_8B48_5273ADB89CAC".to_string(),
requested_version: boot_version.to_string().clone(), requested_version: boot_version.to_string().clone(),
patch_length: todo!(), patch_length: 0,
content_location: todo!(), content_location: String::new(),
patches: vec![PatchEntry { patches: vec![PatchEntry {
url: format!("http://{}/{}", config.patch.patch_dl_url, patch).to_string(), url: format!("http://{}/{}", config.patch.patch_dl_url, patch).to_string(),
version: "2023.09.15.0000.0000".to_string(), version: "2023.09.15.0000.0000".to_string(),

View file

@ -1,3 +1,8 @@
// These are triggered in non-Oodle builds
#![allow(non_snake_case)]
#![allow(unused_unsafe)]
#![allow(unused_variables)]
use std::{ffi::c_void, ptr::null}; use std::{ffi::c_void, ptr::null};
#[cfg(feature = "oodle")] #[cfg(feature = "oodle")]

View file

@ -247,7 +247,7 @@ mod tests {
} }
#[binrw] #[binrw]
#[br(import(magic: &ClientLobbyIpcType))] #[br(import(_magic: &ClientLobbyIpcType))]
#[derive(Debug, Clone)] #[derive(Debug, Clone)]
enum ClientLobbyIpcData { enum ClientLobbyIpcData {
Dummy(), Dummy(),