Commit 974757f1 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Add a set of braces to clarify conditional nesting.

gcc complained about ambiguities.
parent 6240aa0f
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.19 1998/09/01 04:26:59 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.20 1999/01/20 16:24:59 thomas Exp $
* *
* NOTES * NOTES
* These functions are stored in pg_amproc. For each operator class * These functions are stored in pg_amproc. For each operator class
...@@ -92,10 +92,12 @@ btoid8cmp(Oid *a, Oid *b) ...@@ -92,10 +92,12 @@ btoid8cmp(Oid *a, Oid *b)
for (i = 0; i < 8; i++) for (i = 0; i < 8; i++)
/* we use this because we need the int4gt, etc */ /* we use this because we need the int4gt, etc */
if (!int4eq(a[i], b[i])) if (!int4eq(a[i], b[i]))
{
if (int4gt(a[i], b[i])) if (int4gt(a[i], b[i]))
return 1; return 1;
else else
return -1; return -1;
}
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment