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

From Tom Lane
Subject pgsql: Suppress -Warray-parameter warnings in pgcrypto/sha2.c.
Date
Msg-id E1mwa5b-0007as-0s@gemulon.postgresql.org
Whole thread Raw
List 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_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0d9b02b33919bebc5d2b78281d091a4e9cf440f9

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Reformat imath.c macro to remove -Wmisleading-indentation warnin
Next
From: Michael Paquier
Date:
Subject: pgsql: Improve description of some WAL records with transaction command