| From: | Magnus Hagander <magnus(at)hagander(dot)net> |
|---|---|
| To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
| Cc: | pgsql-patches(at)postgresql(dot)org |
| Subject: | Re: Getting rid of warnings |
| Date: | 2007-01-25 14:40:16 |
| Message-ID: | 20070125144016.GG27011@svr2.hagander.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-patches |
On Thu, Jan 25, 2007 at 03:29:50PM +0100, Peter Eisentraut wrote:
> Magnus Hagander wrote:
> > * NULL function pointer in SSL call cast to the correct pointer type
>
> Why not write NULL?
>
> In the alternative, declare the variable to have the right type to begin
> with.
I went down the path of least resistance :-) Not sure if there was a
reason to code it that way from the beginning.
NULL works equally well (tested).
I assume this change is something ac ommitter can take care of at
commit-time, so I'll not resubmit for it unless asked to.
//Magnus
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2007-01-25 14:54:18 | Re: [HACKERS] Fix for bug in plpython bool type conversion |
| Previous Message | Peter Eisentraut | 2007-01-25 14:29:50 | Re: Getting rid of warnings |