diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-23 18:48:45 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-03-23 18:50:26 +0100 |
commit | 9bf2335589cd02eeb0661075af3ab3d4d2d25e96 (patch) | |
tree | 73dec4aac966a3d8265b7c6de512f466ecfd7360 /compat | |
parent | 9fb948dcc12c82902c4876e886f388023c0350f6 (diff) |
kill warning
Diffstat (limited to 'compat')
-rw-r--r-- | compat/int-hash.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/int-hash.cpp b/compat/int-hash.cpp index 35422486..3579a9c3 100644 --- a/compat/int-hash.cpp +++ b/compat/int-hash.cpp @@ -115,6 +115,7 @@ size_t fnvhash_buf(const void* __restrict buf, size_t size, size_t seed) noexcep case 2: hash *= b; hash ^= (uint8_t)*str++; [[fallthrough]]; case 1: hash *= b; hash ^= (uint8_t)*str++; [[fallthrough]]; case 0: break; + default: std::unreachable(); } return hash; } |