mirror of
https://github.com/postgres/postgres.git
synced 2025-05-28 00:03:23 -04:00
Silence -Wmissing-braces complaints in file_utils.c
Per buildfarm member lapwing, coupled with an offline poke from Julien Rouhaud. 6392f2a was a similar case.
This commit is contained in:
parent
b803b7d132
commit
d937904cce
@ -540,7 +540,7 @@ pg_pwritev_with_retry(int fd, const struct iovec *iov, int iovcnt, off_t offset)
|
||||
ssize_t
|
||||
pg_pwrite_zeros(int fd, size_t size, off_t offset)
|
||||
{
|
||||
const static PGAlignedBlock zbuffer = {0}; /* worth BLCKSZ */
|
||||
const static PGAlignedBlock zbuffer = {{0}}; /* worth BLCKSZ */
|
||||
void *zerobuf_addr = unconstify(PGAlignedBlock *, &zbuffer)->data;
|
||||
struct iovec iov[PG_IOV_MAX];
|
||||
size_t remaining_size = size;
|
||||
|
Loading…
x
Reference in New Issue
Block a user