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
This commit is contained in:
Chad Rosier 2012-05-09 17:38:47 +00:00
parent ecee47eab4
commit 26bbdeed6c

View File

@ -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.