Re: sparse (static analyzer) report

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: sparse (static analyzer) report
Дата
Msg-id 87pt07tb92.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: sparse (static analyzer) report  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Ответы Re: sparse (static analyzer) report  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:

> Hmm.  Well, it showed the multiple incorrect uses of 0 as NULL in
> dllist.c and other places, 

Incidentally, while it may not be conformant to your style guidelines, use of
the constant 0 compared to or assigned to a pointer is a perfectly valid ANSI
spelling for NULL. (The same is not true for an expression that happens to
evaluate to 0.)

-- 
greg



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

Предыдущее
От: Brendan Jurd
Дата:
Сообщение: Re: Time span conversion function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: sparse (static analyzer) report