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

Commit974757f

Browse files
author
Thomas G. Lockhart
committed
Add a set of braces to clarify conditional nesting.
gcc complained about ambiguities.
1 parent6240aa0 commit974757f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.19 1998/09/01 04:26:59momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.20 1999/01/20 16:24:59thomas Exp $
1111
*
1212
*NOTES
1313
*These functions are stored in pg_amproc. For each operator class
@@ -92,10 +92,12 @@ btoid8cmp(Oid *a, Oid *b)
9292
for (i=0;i<8;i++)
9393
/* we use this because we need the int4gt, etc */
9494
if (!int4eq(a[i],b[i]))
95+
{
9596
if (int4gt(a[i],b[i]))
9697
return1;
9798
else
9899
return-1;
100+
}
99101
return0;
100102
}
101103

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp