On Sat, Nov 10, 2018 at 8:51 PM Daniel Westermann
<daniel.westermann@dbi-services.com> wrote:
>
> >>Thanks. Initializing the variable seems like the right fix here.
>
> ... just had a warning when recompiling from the latest sources on CentOS 7:
>
> labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2
-I../../../../src/include -D_GNU_SOURCE -I/usr/include/libxml2 -c -o tpd.o tpd.c
> tpd.c: In function ‘TPDFreePage’:
> tpd.c:1003:15: warning: variable ‘curblkno’ set but not used [-Wunused-but-set-variable]
> BlockNumber curblkno = InvalidBlockNumber;
> ^
Thanks Daniel for testing zheap and reporting the issue. We'll push a
fix for the same.
--
Thanks & Regards,
Kuntal Ghosh
EnterpriseDB: http://www.enterprisedb.com