[Patch] Remove dead code in standard_upload
Yvan Roux <[email protected]>
| Newsgroups | gmane.comp.sysutils.dejagnu.general |
|---|---|
| Message-ID | <CAD57uCd4Uxbgm4C-ExTzows_cCSWeACLSynbrwUUCzztUrDYkg@mail.gmail.com> |
Hi, This simple removes the unreachable call to rsh_upload at the end of standard_upload. Cheers, Yvan 2016-03-03 Yvan Roux <[email protected]> * lib/remote.exp (standard_upload): Remove dead code. _______________________________________________ DejaGnu mailing list [email protected] https://lists.gnu.org/mailman/listinfo/dejagnu
dj-cleanup.diff
(text/plain, 356 B)
diff --git a/lib/remote.exp b/lib/remote.exp
index 1fd1010..7b2f1ab 100644
--- a/lib/remote.exp
+++ b/lib/remote.exp
@@ -543,8 +543,6 @@ proc standard_upload { dest srcfile destfile } {
} else {
return $destfile
}
-
- return [rsh_upload $dest $srcfile $destfile]
}
# A standard procedure to call the appropriate function. It first looks