| От | Magnus Hagander |
|---|---|
| Тема | Re: Win32: Minimising desktop heap usage |
| Дата | |
| Msg-id | 471E3434.60306@hagander.net обсуждение исходный текст |
| Ответ на | Re: Win32: Minimising desktop heap usage (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-patches |
Tom Lane wrote: > Dave Page <dpage@postgresql.org> writes: >> Tom Lane wrote: >>> So don't initialize a local variable unless >>> you're giving it an actually meaningful value. > >> The downside is that we see a useless warning that, if sufficiently >> multiplied, might make it hard to see something we are interested in. > > [ looks again... ] Actually, I think you just proved my point for me. > The ZeroMemory call should go away, no? (Does this mean that the > Windows builds fail to detect dereferencing NULL? Bad if so.) Windows builds don't fail to detect that in genereal. ZeroMemory, however, has a protection specifically against being passed NULL input, IIRC. //Magnus
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера