| От | Neil Conway |
|---|---|
| Тема | Re: sparse (static analyzer) report |
| Дата | |
| Msg-id | 41EA4E35.6080005@samurai.com обсуждение исходный текст |
| Ответ на | Re: sparse (static analyzer) report (Mark Wong <markw@osdl.org>) |
| Список | pgsql-hackers |
Mark Wong wrote:
> Ah, so you beat me to it Neil. ;) Out of curiosity, how much worse
> was it before you started fixing things?
As I recall, not too different than things are today -- sparse flagged a
bunch of stylistic issues that I fixed, like:
void some_func() { ... } => void some_func(void) { ... }
extern void some_func(void) { ... } => void some_func(void) { ... }
etc. But given that there are 3000 odd warnings (mostly bogus), I doubt
I made a significant dent on the total warning count.
Also, I don't recall sparse picking up any significant errors or
problems. As I said, I've been meaning to explore if that's all that
sparse can do -- I just looked at the lowest of the low-hanging fruit.
-Neil
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера