[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r26474 - trunk/subversion/libsvn_wc

From: Daniel Rall <dlr_at_collab.net>
Date: 2007-09-06 02:03:20 CEST

On Thu, 06 Sep 2007, Charles Acknin wrote:

> On 9/5/07, dlr@tigris.org <dlr@tigris.org> wrote:
> > Author: dlr
> > Date: Wed Sep 5 14:39:17 2007
> > New Revision: 26474
> >
> > Log:
> > A follow-up to r26471.
> >
> > * subversion/libsvn_wc/update_editor.c
> > (add_file_with_history): Remove unused variables.
>
> Could we use -Wunused gcc flags to prevent this? I've always wondered
> why Subversion's build system doesn't. Or are those kind of semantic
> checks time-expensive for the compiler?

My version of gcc warns automatically, so long as the source file
doesn't need to be recompiled. I'm assuming that Ben's does the same
-- it's easy to miss these warnings in the long, scrolling output.

  • application/pgp-signature attachment: stored
Received on Thu Sep 6 02:00:15 2007

This is an archived mail posted to the Subversion Dev mailing list.