Don't return true on a function with a void return type.

llvm-svn: 156484
This commit is contained in:
Chad Rosier 2012-05-09 17:38:47 +00:00
parent 219f1f7ac8
commit ec576d9105

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.