Re: clang's static checker report.

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: clang's static checker report.
Дата
Msg-id 20090915100601.GA21238@feivel.credativ.lan
обсуждение исходный текст
Ответ на Re: clang's static checker report.  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Ответы Re: clang's static checker report.  (Nicolas Barbier <nicolas.barbier@gmail.com>)
Список pgsql-hackers
On Mon, Sep 14, 2009 at 06:39:11PM +0100, Grzegorz Jaskiewicz wrote:
> meanwhile, since quite a lot stuff went in over weekend, and since
> Yesterday, new report at:
> 
> http://zlew.org/postgresql_static_check/scan-build-2009-09-14-1/

Looking at
http://zlew.org/postgresql_static_check/scan-build-2009-09-14-1/report-3LPmKK.html#EndPath
it tells me that the value stored to 'counter' is never used. However, the
"counter++" is called inside a loop and thus will be read the next time the
loop is run.

Looks to me like a bug, or did I miss something?

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo/Skype: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Resjunk sort columns, Heikki's index-only quals patch, and bug #5000
Следующее
От: Sam Mason
Дата:
Сообщение: Re: [BUGS] BUG #5053: domain constraints still leak