Re: [HACKERS] Unused variable in hashpage.c

2015-04-03 Thread Tom Lane
Petr Jelinek writes: > my compiler complains about unused variable nblkno in _hash_splitbucket > in no-assert build. It looks like relic of commit ed9cc2b5d which > removed the only use of that variable besides the Assert. Fixed, thanks! regards, tom lane -- Sent via

[HACKERS] Unused variable in hashpage.c

2015-04-02 Thread Petr Jelinek
Hi, my compiler complains about unused variable nblkno in _hash_splitbucket in no-assert build. It looks like relic of commit ed9cc2b5d which removed the only use of that variable besides the Assert. Looking at the code: nblkno = start_nblkno; Assert(nblkno == BufferGetBlockNu