pgsql: Silence pedantic compiler warning introduced in ce340e530d1

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Silence pedantic compiler warning introduced in ce340e530d1
Date: 2023-03-16 17:01:32
Message-ID: E1pcqyp-003qRs-ID@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Silence pedantic compiler warning introduced in ce340e530d1

.../src/common/file_utils.c: In function ‘pg_pwrite_zeros’:
.../src/common/file_utils.c:543:9: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
543 | const static PGAlignedBlock zbuffer = {{0}}; /* worth BLCKSZ */

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2b7259f855723f36d2ce81ad892583248dc1576f

Modified Files
--------------
src/common/file_utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-03-16 18:18:49 pgsql: Tighten error checks in datetime input, and remove bogus "ISO" f
Previous Message Tom Lane 2023-03-16 16:04:29 pgsql: Use "data directory" not "current directory" in error messages.