From 41af455f5e41fe2319d16ec7c96f074524a98974 Mon Sep 17 00:00:00 2001 From: Simon Atanasyan Date: Mon, 12 Oct 2015 14:32:57 +0000 Subject: [PATCH] [Driver] Remove `else` after `return` git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@250043 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Driver/Multilib.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Driver/Multilib.cpp b/lib/Driver/Multilib.cpp index 8acda6794d..34ad6a7efb 100644 --- a/lib/Driver/Multilib.cpp +++ b/lib/Driver/Multilib.cpp @@ -260,16 +260,15 @@ bool MultilibSet::select(const Multilib::flags_list &Flags, Multilib &M) const { return false; }, Multilibs); - if (Filtered.size() == 0) { + if (Filtered.size() == 0) return false; - } else if (Filtered.size() == 1) { + if (Filtered.size() == 1) { M = Filtered[0]; return true; } // TODO: pick the "best" multlib when more than one is suitable assert(false); - return false; } -- 2.50.1