Re: clang's static checker report. - Mailing list pgsql-hackers

From Greg Stark
Subject Re: clang's static checker report.
Date
Msg-id 407d949e0908300810g524ed757sea76163839024e33@mail.gmail.com
Whole thread Raw
In response to Re: clang's static checker report.  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Responses Re: clang's static checker report.
List pgsql-hackers
On Sun, Aug 30, 2009 at 3:57 PM, Grzegorz Jaskiewicz<gj@pointblue.com.pl> wrote:
>
> On 30 Aug 2009, at 15:46, Greg Stark wrote:
>
>> So three of the four dead initialization warnings are legitimate -- if
>> minor -- errors. Attached is a patch to remove the redundant
>> initializations.
>
>
> well, all I can do is this: http://llvm.org/bugs/show_bug.cgi?id=4832
>
> I find it hard to belive tho, that it only found 4 possible positives ;)

You might try something like the attached.

--
greg
http://mit.edu/~gsstark/resume.pdf

Attachment

pgsql-hackers by date:

Previous
From: Grzegorz Jaskiewicz
Date:
Subject: Re: clang's static checker report.
Next
From: Tom Lane
Date:
Subject: Re: PQexecPrepared() behavior