Re: fix for strict-alias warnings

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: fix for strict-alias warnings
Дата
Msg-id 3F8C0E89.2070200@dunslane.net
обсуждение исходный текст
Ответ на Re: fix for strict-alias warnings  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: fix for strict-alias warnings  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
Andrew Dunstan wrote:

>
> there were 3 calls to MemSet it complained about - all in
> src/backend/storage/lmgr/proc.c, and all zeroing out the timeval
> structure. (is MemSet actually a gain in this instance?)


And looking at it even closer, 2 of the 3 cases of calling MemSet appear
to be unnecessary, as the zeroed out values are immediately overwritten.

cheers

andrew




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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: fix for strict-alias warnings
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [Fwd: Make psql use all pretty print options]