mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-05 19:09:58 +08:00
Silence compiler warning about variable being used uninitialized.
It's a false positive - the variable is only used when 'onleft' is true, and it is initialized in that case. But the compiler doesn't necessarily see that.
This commit is contained in:
parent
2c03216d83
commit
f464042161
@ -269,7 +269,7 @@ btree_xlog_split(bool onleft, bool isroot, XLogReaderState *record)
|
||||
Page lpage = (Page) BufferGetPage(lbuf);
|
||||
BTPageOpaque lopaque = (BTPageOpaque) PageGetSpecialPointer(lpage);
|
||||
OffsetNumber off;
|
||||
Item newitem;
|
||||
Item newitem = NULL;
|
||||
Size newitemsz = 0;
|
||||
Page newlpage;
|
||||
OffsetNumber leftoff;
|
||||
|
Loading…
Reference in New Issue
Block a user