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

Commit14d5a47

Browse files
committed
Suppress uninitialized-variable warning.
1 parent5cbf6dc commit14d5a47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/backend/utils/misc/rbtree.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Copyright (c) 1996-2009, PostgreSQL Global Development Group
2121
*
2222
* IDENTIFICATION
23-
* $PostgreSQL: pgsql/src/backend/utils/misc/rbtree.c,v 1.1 2010/02/1114:29:50 teodor Exp $
23+
* $PostgreSQL: pgsql/src/backend/utils/misc/rbtree.c,v 1.2 2010/02/1122:17:27 tgl Exp $
2424
*
2525
*-------------------------------------------------------------------------
2626
*/
@@ -320,6 +320,7 @@ rb_insert(RBTree *rb, void *data)
320320
/* find where node belongs */
321321
current=rb->root;
322322
parent=NULL;
323+
cmp=0;
323324
while (current!=RBNIL)
324325
{
325326
cmp=rb->comparator(data,current->data,rb->arg);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp