Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf464042

Browse files
committed
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 necessarilysee that.
1 parent2c03216 commitf464042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/access/nbtree/nbtxlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ btree_xlog_split(bool onleft, bool isroot, XLogReaderState *record)
269269
Pagelpage= (Page)BufferGetPage(lbuf);
270270
BTPageOpaquelopaque= (BTPageOpaque)PageGetSpecialPointer(lpage);
271271
OffsetNumberoff;
272-
Itemnewitem;
272+
Itemnewitem=NULL;
273273
Sizenewitemsz=0;
274274
Pagenewlpage;
275275
OffsetNumberleftoff;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp