From f5ceeebe8604c6b5d08de5744d245c6b0551a9b9 Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Tue, 19 Jul 2016 15:36:09 +0200 Subject: Fix some compiler warnings --- src/FileEntry.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/FileEntry.cc') 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 FileEntry::getRequestWithInFlightHosts( continue; } - return req; + break; } + return req; } std::shared_ptr FileEntry::getRequest( -- cgit