diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-06-15 19:30:31 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-06-15 19:30:31 +0000 |
commit | 6bd323c6b3f65b26273d5efb7ddd0ac04d039546 (patch) | |
tree | 6106db4e7512e765ca8c48963fb750cb63fec96f /src/backend/access/common/heaptuple.c | |
parent | 27db9ecd0b15abca733a99dab3bf9771ad70507d (diff) | |
download | postgresql-6bd323c6b3f65b26273d5efb7ddd0ac04d039546.tar.gz postgresql-6bd323c6b3f65b26273d5efb7ddd0ac04d039546.zip |
Remove un-needed braces around single statements.
Diffstat (limited to 'src/backend/access/common/heaptuple.c')
-rw-r--r-- | src/backend/access/common/heaptuple.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/backend/access/common/heaptuple.c b/src/backend/access/common/heaptuple.c index ded94d0d8a3..ec5b756e748 100644 --- a/src/backend/access/common/heaptuple.c +++ b/src/backend/access/common/heaptuple.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.37 1998/02/26 04:29:15 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.38 1998/06/15 19:27:44 momjian Exp $ * * NOTES * The old interface functions have been converted to macros @@ -143,9 +143,7 @@ DataFill(char *data, if (bit != NULL) { if (bitmask != CSIGNBIT) - { bitmask <<= 1; - } else { bitP += 1; @@ -167,13 +165,9 @@ DataFill(char *data, case -1: *infomask |= HEAP_HASVARLENA; if (att[i]->attalign == 'd') - { data = (char *) DOUBLEALIGN(data); - } else - { data = (char *) INTALIGN(data); - } data_length = VARSIZE(DatumGetPointer(value[i])); memmove(data, DatumGetPointer(value[i]), data_length); data += data_length; @@ -239,9 +233,7 @@ heap_attisnull(HeapTuple tup, int attnum) return (0); if (attnum > 0) - { return (att_isnull(attnum - 1, tup->t_bits)); - } else switch (attnum) { @@ -513,9 +505,7 @@ nocachegetattr(HeapTuple tup, tp + att[attnum]->attcacheoff); } else if (attnum == 0) - { return ((Datum) fetchatt(&(att[0]), (char *) tp)); - } else if (!HeapTupleAllFixed(tup)) { int j = 0; |