summaryrefslogtreecommitdiff
path: root/src/FileEntry.cc
diff options
context:
space:
mode:
authorNils Maier <maierman@web.de>2016-07-19 15:36:09 +0200
committerNils Maier <maierman@web.de>2016-07-19 20:55:42 +0200
commitf5ceeebe8604c6b5d08de5744d245c6b0551a9b9 (patch)
treeebc926c41d87c7075fd8123322d7601ecd98202e /src/FileEntry.cc
parent665a1d1b3581dc0fc7076cf66be2fc8982ab7be2 (diff)
Fix some compiler warnings
Diffstat (limited to 'src/FileEntry.cc')
-rw-r--r--src/FileEntry.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FileEntry.cc b/src/FileEntry.cc
index 95b3f50a..453c6816 100644
--- a/src/FileEntry.cc
+++ b/src/FileEntry.cc
@@ -184,8 +184,9 @@ std::shared_ptr<Request> FileEntry::getRequestWithInFlightHosts(
continue;
}
- return req;
+ break;
}
+ return req;
}
std::shared_ptr<Request> FileEntry::getRequest(