From 9af4159fce6654aa0e081b00d02bca40b978745c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 29 May 2013 16:58:43 -0400 Subject: pgindent run for release 9.3 This is the first run of the Perl-based pgindent script. Also update pgindent instructions. --- src/backend/lib/binaryheap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/lib/binaryheap.c') diff --git a/src/backend/lib/binaryheap.c b/src/backend/lib/binaryheap.c index 2c6f85ca536..4b4fc945c32 100644 --- a/src/backend/lib/binaryheap.c +++ b/src/backend/lib/binaryheap.c @@ -35,7 +35,7 @@ binaryheap_allocate(int capacity, binaryheap_comparator compare, void *arg) int sz; binaryheap *heap; - sz = offsetof(binaryheap, bh_nodes) + sizeof(Datum) * capacity; + sz = offsetof(binaryheap, bh_nodes) +sizeof(Datum) * capacity; heap = palloc(sz); heap->bh_size = 0; heap->bh_space = capacity; @@ -203,7 +203,7 @@ binaryheap_replace_first(binaryheap *heap, Datum d) static inline void swap_nodes(binaryheap *heap, int a, int b) { - Datum swap; + Datum swap; swap = heap->bh_nodes[a]; heap->bh_nodes[a] = heap->bh_nodes[b]; -- cgit v1.2.3