From 6bd323c6b3f65b26273d5efb7ddd0ac04d039546 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 15 Jun 1998 19:30:31 +0000 Subject: Remove un-needed braces around single statements. --- contrib/array/array_iterator.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'contrib/array/array_iterator.c') 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); - } } /* -- cgit v1.2.3