From: Chad Rosier Date: Wed, 9 May 2012 17:38:47 +0000 (+0000) Subject: Don't return true on a function with a void return type. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=26bbdeed6c50c57c4ab02a14edfea876dc71e3f4;p=oota-llvm.git Don't return true on a function with a void return type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156484 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Support/Triple.cpp b/lib/Support/Triple.cpp index 2a22f754806..efa2df32657 100644 --- a/lib/Support/Triple.cpp +++ b/lib/Support/Triple.cpp @@ -609,7 +609,7 @@ void Triple::getiOSVersion(unsigned &Major, unsigned &Minor, Major = 0; Minor = 0; Micro = 0; - return true; + break; case IOS: getOSVersion(Major, Minor, Micro); // Default to 0.0.