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

Commit47f514d

Browse files
committed
Fix compilation warning in xloginsert.c
This is reproducible with gcc using at least -O0. The last checksvalidating the compression of a block could not be reached with thisvariable not set, but let's be clean.Oversight in4035cd5, per buildfarm member lapwing.
1 parent4035cd5 commit47f514d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/access/transam/xloginsert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ XLogCompressBackupBlock(char *page, uint16 hole_offset, uint16 hole_length,
863863
char*dest,uint16*dlen)
864864
{
865865
int32orig_len=BLCKSZ-hole_length;
866-
int32len;
866+
int32len=-1;
867867
int32extra_bytes=0;
868868
char*source;
869869
PGAlignedBlocktmp;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp