pgsql: Fix compiler warning for pg_lfind32().

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix compiler warning for pg_lfind32().
Date: 2024-03-27 01:29:06
Message-ID: E1rpI6D-005qwe-Om@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix compiler warning for pg_lfind32().

The newly-introduced "one_by_one" label produces -Wunused-label
warnings when building without SIMD support. To fix, move the
label into the SIMD section of this function.

Oversight in commit 7644a7340c.

Reported-by: Tom Lane
Discussion: https://postgr.es/m/3189995.1711495704%40sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1f42337be535243e665f85916ce21b2d85d9f2b3

Modified Files
--------------
src/include/port/pg_lfind.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Masahiko Sawada 2024-03-27 02:44:54 pgsql: Allow specifying initial and maximum segment sizes for DSA.
Previous Message Nathan Bossart 2024-03-26 20:09:26 pgsql: Add commit 64e401b62b to .git-blame-ignore-revs.