Re: tapeblocks is uninitialized in logtape.c
От | Tom Lane |
---|---|
Тема | Re: tapeblocks is uninitialized in logtape.c |
Дата | |
Msg-id | 4628.1518581427@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | tapeblocks is uninitialized in logtape.c (Jaime Casanova <jaime.casanova@2ndquadrant.com>) |
Ответы |
Re: tapeblocks is uninitialized in logtape.c
Re: tapeblocks is uninitialized in logtape.c Re: tapeblocks is uninitialized in logtape.c |
Список | pgsql-hackers |
Jaime Casanova <jaime.casanova@2ndquadrant.com> writes: >> My compiler gives me this message >> logtape.c: In function ‘ltsConcatWorkerTapes’: >> logtape.c:462:48: warning: ‘tapeblocks’ may be used uninitialized in >> this function [-Wmaybe-uninitialized] >> lts->nBlocksAllocated = lt->offsetBlockNumber + tapeblocks; FWIW, I'm not seeing that. What compiler are you using exactly? (There are one or two other places where I see "may be used uninitialized" complaints from certain older gcc versions. Not sure how excited we should be about removing such warnings.) regards, tom lane
В списке pgsql-hackers по дате отправления: