pgsql: Suppress -Warray-parameter warnings in pgcrypto/sha2.c.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Suppress -Warray-parameter warnings in pgcrypto/sha2.c.
Date: 2021-12-13 01:25:15
Message-ID: E1mwa5b-0007au-1K@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Suppress -Warray-parameter warnings in pgcrypto/sha2.c.

This is exactly the same problem as commit 1b242f42b fixed in ecpg,
but in contrib/pgcrypto. Commit 273c458a2 eliminated the problem
here for v10 and up. We hadn't noticed for exactly the same reasons
enumerated in bbbf22cf3.

Back-patch down to 9.2, pursuant to newly-established project policy
about keeping out-of-support branches buildable.

Discussion: https://postgr.es/m/d0316012-ece7-7b7e-2d36-9c38cb77cb3b@enterprisedb.com

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/25c8e5ef077ed726bfec93dffd4f7870b7ed4313

Modified Files
--------------
contrib/pgcrypto/sha2.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-12-13 02:05:08 pgsql: Improve description of some WAL records with transaction command
Previous Message Tom Lane 2021-12-13 00:12:49 pgsql: Reformat imath.c macro to remove -Wmisleading-indentation warnin