Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd937904

Browse files
committed
Silence -Wmissing-braces complaints in file_utils.c
Per buildfarm member lapwing, coupled with an offline poke from JulienRouhaud.6392f2a was a similar case.
1 parentb803b7d commitd937904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/common/file_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ pg_pwritev_with_retry(int fd, const struct iovec *iov, int iovcnt, off_t offset)
540540
ssize_t
541541
pg_pwrite_zeros(intfd,size_tsize,off_toffset)
542542
{
543-
conststaticPGAlignedBlockzbuffer= {0};/* worth BLCKSZ */
543+
conststaticPGAlignedBlockzbuffer= {{0}};/* worth BLCKSZ */
544544
void*zerobuf_addr=unconstify(PGAlignedBlock*,&zbuffer)->data;
545545
structioveciov[PG_IOV_MAX];
546546
size_tremaining_size=size;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp