Small lints

This commit is contained in:
Thoronium
2023-04-28 13:52:24 -06:00
parent 4631a6d38d
commit bdb0fd3eb7
3 changed files with 5 additions and 1 deletions

View File

@@ -20,3 +20,6 @@ pub fn reopen_as_admin() {
#[cfg(target_os = "linux")]
pub fn reopen_as_admin() {}
#[cfg(target_os = "macos")]
pub fn reopen_as_admin() {}

View File

@@ -414,6 +414,7 @@ fn enable_grasscutter_watcher(window: tauri::Window, process: String) {
#[tauri::command]
fn enable_grasscutter_watcher(_window: tauri::Window, _process: String) {
let gc_pid = Pid::from(696969);
*GC_PID.lock().unwrap() = gc_pid.into();
}
#[tauri::command]

View File

@@ -271,7 +271,7 @@ pub fn start_service(service: String) -> bool {
#[cfg(unix)]
#[tauri::command]
pub fn start_service(_service: String) {
let started = OsStr::new("Started service!");
let _started = OsStr::new("Started service!");
}
#[cfg(windows)]