Re: clang's static checker report.

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: clang's static checker report.
Дата
Msg-id 1251642399.22097.0.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: clang's static checker report.  (Greg Stark <gsstark@mit.edu>)
Ответы Re: clang's static checker report.  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
On lör, 2009-08-29 at 17:35 +0100, Greg Stark wrote:
> We still have things like this showing "division by zero":
> 
> Assert(activeTapes > 0);
> 1913        slotsPerTape = (state->memtupsize - state->mergefirstfree) / activeTapes;
> 
> 
> It looks like if you marked ExceptionalCondition() as never returning
> then it should hide this.

Well, if you can disable the assertion, then there is still a possible
bug here, no?



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

Предыдущее
От: Grzegorz Jaskiewicz
Дата:
Сообщение: Re: clang's static checker report.
Следующее
От: Greg Stark
Дата:
Сообщение: Re: clang's static checker report.