1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-04 10:44:46 +02:00

Eliminate unsued varaibles

This commit is contained in:
Konstantin Knizhnik 2018-11-08 12:43:19 +03:00
parent 05e3211e27
commit 5e12fec6ab

View File

@ -127,8 +127,7 @@ page_may_be_compressed(Page page, CompressAlg alg)
phdr->pd_special == MAXALIGN(phdr->pd_special)))
{
/* ... end only if it is invalid, then do more checks */
int major, middle, minor;
if ( parse_program_version(current.program_version) >= 20023)
if (parse_program_version(current.program_version) >= 20023)
{
/* Versions 2.0.23 and higher don't have such bug */
return false;