Fixed build warning on linux.

pull/202/head
Revertron 2 years ago
parent f7799fefd6
commit b2aa001dc5

@ -35,7 +35,7 @@ const SETTINGS_FILENAME: &str = "alfis.toml";
const LOG_TARGET_MAIN: &str = "alfis::Main";
fn main() {
#[allow(unused_assignments)]
#[allow(unused_assignments, unused_mut)]
let mut console_attached = true;
// When linked with the windows subsystem windows won't automatically attach
// to the console of the parent process, so we do it explicitly. This fails silently if the parent has no console.

Loading…
Cancel
Save