diff --git a/src/create.rs b/src/create.rs index 3b88f7e..17e9cd4 100644 --- a/src/create.rs +++ b/src/create.rs @@ -67,7 +67,8 @@ fn export_container_config( } pub fn create(cfg: &mut KrunvmConfig, matches: &ArgMatches) { - let cpus = match matches.value_of("cpus") { + #[allow(unused_mut)] + let mut cpus = match matches.value_of("cpus") { Some(c) => match c.parse::() { Err(_) => { println!("Invalid value for \"cpus\"");