Re: clang's static checker report. - Mailing list pgsql-hackers

From Greg Stark
Subject Re: clang's static checker report.
Date
Msg-id 407d949e0908290935j19167061oa83776b00a264304@mail.gmail.com
Whole thread Raw
In response to Re: clang's static checker report.  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
Responses Re: clang's static checker report.
Re: clang's static checker report.
List pgsql-hackers
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.


-- 
greg
http://mit.edu/~gsstark/resume.pdf


pgsql-hackers by date:

Previous
From: Grzegorz Jaskiewicz
Date:
Subject: Re: clang's static checker report.
Next
From: Grzegorz Jaskiewicz
Date:
Subject: Re: clang's static checker report.