clippy: remove drop(&..)
it does nothing. Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
50deb0d3f8
commit
d967d8f1a7
@ -194,7 +194,6 @@ pub fn destroy_media(label_text: String, force: Option<bool>,) -> Result<(), Err
|
||||
}
|
||||
|
||||
let uuid = media_id.label.uuid.clone();
|
||||
drop(media_id);
|
||||
|
||||
inventory.remove_media(&uuid)?;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user