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 /contrib/array/array_iterator.c | |
parent | 27db9ecd0b15abca733a99dab3bf9771ad70507d (diff) | |
download | postgresql-6bd323c6b3f65b26273d5efb7ddd0ac04d039546.tar.gz postgresql-6bd323c6b3f65b26273d5efb7ddd0ac04d039546.zip |
Remove un-needed braces around single statements.
Diffstat (limited to 'contrib/array/array_iterator.c')
-rw-r--r-- | contrib/array/array_iterator.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/contrib/array/array_iterator.c b/contrib/array/array_iterator.c index b97530b124d..9b6d9f8f4cf 100644 --- a/contrib/array/array_iterator.c +++ b/contrib/array/array_iterator.c @@ -104,38 +104,26 @@ array_iterator(Oid elemtype, Oid proc, int and, ArrayType *array, Datum value) { result = (int) (*proc_fn) (p, value); if (typlen > 0) - { p += typlen; - } else - { p += INTALIGN(*(int32 *) p); - } } if (result) { if (!and) - { return (1); - } } else { if (and) - { return (0); - } } } if (and && result) - { return (1); - } else - { return (0); - } } /* |