diff --git a/faiss/utils/hamming_distance/generic-inl.h b/faiss/utils/hamming_distance/generic-inl.h index e0907a1586..3565a97c6b 100644 --- a/faiss/utils/hamming_distance/generic-inl.h +++ b/faiss/utils/hamming_distance/generic-inl.h @@ -275,7 +275,6 @@ struct HammingComputerDefault { len -= 8; accu += popcount64(a64[i] ^ b64[i]); i++; - [[fallthrough]]; case 7: accu += popcount64(a64[i] ^ b64[i]); i++; @@ -309,7 +308,6 @@ struct HammingComputerDefault { const uint8_t* a = a8 + 8 * quotient8; const uint8_t* b = b8 + 8 * quotient8; switch (remainder8) { - [[fallthrough]]; case 7: accu += hamdis_tab_ham_bytes[a[6] ^ b[6]]; [[fallthrough]];