Re: [PATCH] Use MAP_HUGETLB where supported (v3) - Mailing list pgsql-hackers

From Christian Kruse
Subject Re: [PATCH] Use MAP_HUGETLB where supported (v3)
Date
Msg-id 20140129191811.GB31325@defunct.ch
Whole thread Raw
In response to Re: [PATCH] Use MAP_HUGETLB where supported (v3)  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: [PATCH] Use MAP_HUGETLB where supported (v3)
List pgsql-hackers
Hi,

On 29/01/14 10:11, Jeff Janes wrote:
> I'm getting this warning now with gcc (GCC) 4.4.7:

Interesting. I don't get that warning. But the compiler is (formally)
right.

> pg_shmem.c: In function 'PGSharedMemoryCreate':
> pg_shmem.c:332: warning: 'allocsize' may be used uninitialized in this
> function
> pg_shmem.c:332: note: 'allocsize' was declared here

Attached patch should fix that.

Best regards,

--
 Christian Kruse               http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


Attachment

pgsql-hackers by date:

Previous
From: Vik Fearing
Date:
Subject: Re: pg_sleep_enhancements.patch
Next
From: Andreas Karlsson
Date:
Subject: Re: Planning time in explain/explain analyze