Re: Getting rid of warnings

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: Getting rid of warnings
Дата
Msg-id 20070125144016.GG27011@svr2.hagander.net
обсуждение исходный текст
Ответ на Re: Getting rid of warnings  (Peter Eisentraut <peter_e@gmx.net>)
Список 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

В списке pgsql-patches по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Getting rid of warnings
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Fix for bug in plpython bool type conversion