Don't return true on a function with a void return type.
[oota-llvm.git] / lib / Support / Triple.cpp
index 2a22f754806211a6f2d832eb87fe529a28a81df7..efa2df32657b7267f2bf8d96e6b24e146075a70a 100644 (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.