mirror of
https://github.com/postgres/postgres.git
synced 2025-05-29 00:03:09 -04:00
Fix compilation warning in xloginsert.c
This is reproducible with gcc using at least -O0. The last checks validating the compression of a block could not be reached with this variable not set, but let's be clean. Oversight in 4035cd5, per buildfarm member lapwing.
This commit is contained in:
parent
4035cd5d4e
commit
47f514dd9a
@ -863,7 +863,7 @@ XLogCompressBackupBlock(char *page, uint16 hole_offset, uint16 hole_length,
|
|||||||
char *dest, uint16 *dlen)
|
char *dest, uint16 *dlen)
|
||||||
{
|
{
|
||||||
int32 orig_len = BLCKSZ - hole_length;
|
int32 orig_len = BLCKSZ - hole_length;
|
||||||
int32 len;
|
int32 len = -1;
|
||||||
int32 extra_bytes = 0;
|
int32 extra_bytes = 0;
|
||||||
char *source;
|
char *source;
|
||||||
PGAlignedBlock tmp;
|
PGAlignedBlock tmp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user