mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +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(srcdescriptor) = tokens.next() {
|
||||||
if let Some(dstdescriptor) = tokens.next() {
|
if let Some(dstdescriptor) = tokens.next() {
|
||||||
match std::fs::copy(srcdescriptor, dstdescriptor) {
|
match std::fs::copy(srcdescriptor, dstdescriptor) {
|
||||||
Ok(result) => {
|
Ok(_result) => {
|
||||||
write!(ret, "Copy from {} to {} succeeded", srcdescriptor, dstdescriptor).ok();
|
write!(ret, "Copy from {} to {} succeeded", srcdescriptor, dstdescriptor).ok();
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue