From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: new warning |
Date: | 2011-11-09 16:16:19 |
Message-ID: | CA+TgmoZmf7NHROjV0eupjunQ+BxVF-rv2whrfZCYsC4g_04nYQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Nov 9, 2011 at 11:12 AM, Kevin Grittner
<Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
> This commit adds a new warning on my machine:
>
> http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=d326d9e8ea1d690cf6d968000efaa5121206d231
>
> copy.c: In function *DoCopy*:
> copy.c:1861:14: warning: *bufferedTuples* may be used uninitialized
> in this function
Yeah, I was just noticing that. It looks like it's just a case of the
compiler failing to see that there can't be a problem in real life, so
I pushed a fix to initialize it to NULL.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2011-11-09 16:19:46 | parallel make failure |
Previous Message | Robert Haas | 2011-11-09 16:13:09 | Re: a modest improvement to get_object_address() |