Removed unreachable code.
This commit is contained in:
parent
4c8a4175d8
commit
d23d0475f4
1 changed files with 0 additions and 2 deletions
|
|
@ -339,7 +339,6 @@ public:
|
|||
bool downloadFile (StringRef url, StringRef localPath, int32 timeout = DefaultSocketTimeout) {
|
||||
if (plat.win && !initialized_) {
|
||||
plat.abort ("Sockets not initialized.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (File::exists (localPath)) {
|
||||
|
|
@ -410,7 +409,6 @@ public:
|
|||
bool uploadFile (StringRef url, StringRef localPath, const int32 timeout = DefaultSocketTimeout) {
|
||||
if (plat.win && !initialized_) {
|
||||
plat.abort ("Sockets not initialized.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!File::exists (localPath)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue