diff --git a/libc/test/UnitTest/RoundingModeUtils.cpp b/libc/test/UnitTest/RoundingModeUtils.cpp --- a/libc/test/UnitTest/RoundingModeUtils.cpp +++ b/libc/test/UnitTest/RoundingModeUtils.cpp @@ -20,19 +20,14 @@ switch (mode) { case RoundingMode::Upward: return FE_UPWARD; - break; case RoundingMode::Downward: return FE_DOWNWARD; - break; case RoundingMode::TowardZero: return FE_TOWARDZERO; - break; case RoundingMode::Nearest: return FE_TONEAREST; - break; - default: - __builtin_unreachable(); } + __builtin_unreachable(); } ForceRoundingMode::ForceRoundingMode(RoundingMode mode) { diff --git a/libc/test/src/__support/uint_test.cpp b/libc/test/src/__support/uint_test.cpp --- a/libc/test/src/__support/uint_test.cpp +++ b/libc/test/src/__support/uint_test.cpp @@ -25,7 +25,6 @@ using LL_Int192 = __llvm_libc::cpp::Int<192>; TEST(LlvmLibcUIntClassTest, BasicInit) { - LL_UInt128 empty; LL_UInt128 half_val(12345); LL_UInt128 full_val({12345, 67890}); ASSERT_TRUE(half_val != full_val);