mirror of
https://github.com/postgres/postgres.git
synced 2025-08-31 17:02:12 +03:00
Dial back -Wimplicit-fallthrough to level 3
The additional pain from level 4 is excessive for the gain. Also revert all the source annotation changes to their original wordings, to avoid back-patching pain. Discussion: https://postgr.es/m/31166.1589378554@sss.pgh.pa.us
This commit is contained in:
@@ -1042,7 +1042,7 @@ hash_search_with_hash_value(HTAB *hashp,
|
||||
case HASH_ENTER_NULL:
|
||||
/* ENTER_NULL does not work with palloc-based allocator */
|
||||
Assert(hashp->alloc != DynaHashAlloc);
|
||||
/* FALLTHROUGH */
|
||||
/* FALL THRU */
|
||||
|
||||
case HASH_ENTER:
|
||||
/* Return existing element if found, else create one */
|
||||
|
Reference in New Issue
Block a user