Re: "unused" branch

Felix Salfelder <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
On Wed, Sep 16, 2015 at 10:17:32PM -0400, al davis wrote:
> This branch contains a "bug fix", fixing a warning about an 
> unused variable.
> 
> The warning shows when using a custom set of build options .. in 
> particular, extra warnings ON (-Wall), asserts OFF (-DNDEBUG).
> [..]
> In these cases, the warning doesn't show.

i sometimes do partial builds. touch e_compon.cc; make
CPPFLAGS=-DDO_TRACE. yes, this is "custom". enabling traces globally
does not make much sense to me.

> In the case where the claimed warning shows, there are lots of 
> other similar ones that also show.

i didn't see any, likely because i only touched one file. this one
annoyed me, so i quickly "fixed" it.

> It's something I have known about forever, back to when it was 
> written, and didn't consider it to be a problem.

not a big problem indeed.

cheers
felix
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.