mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
address warning (result not used in "copy")
This commit is contained in:
parent
38296a9510
commit
d8a8046521
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ impl<'a> ShellCmdApi<'a> for PddbCmd {
|
|||
if let Some(srcdescriptor) = tokens.next() {
|
||||
if let Some(dstdescriptor) = tokens.next() {
|
||||
match std::fs::copy(srcdescriptor, dstdescriptor) {
|
||||
Ok(result) => {
|
||||
Ok(_result) => {
|
||||
write!(ret, "Copy from {} to {} succeeded", srcdescriptor, dstdescriptor).ok();
|
||||
}
|
||||
Err(e) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue