You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Hudson <gh...@MIT.EDU> on 2002/12/07 17:46:02 UTC

Re: svn commit: rev 4034 - trunk/subversion/libsvn_subr

On Fri, 2002-12-06 at 14:08, kfogel@tigris.org wrote:
> Author: kfogel
> Date: 2002-12-06 13:08:54 -0600 (Fri, 06 Dec 2002)
> New Revision: 4034
> 
> Modified:
>    trunk/subversion/libsvn_subr/config.c
> Log:
> * subversion/libsvn_subr/config.c
>   (svn_config_find_group): Remove unused variable `exception_list'.

I wish I could set my working dir to build Subversion with -Werror, so
that I notice these little things.  Unfortunately, mod_dav_svn doesn't
build cleanly because we build with -Wstrict-prototypes and
http_config.h uses a non-protype declaration of the cmd_func type. 
(Which is not easily corrected, because cmd_func is used polymorphically
without casting, and not just by Apache.)

Has anyone come up with a clever workaround?


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn commit: rev 4034 - trunk/subversion/libsvn_subr

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Greg Hudson <gh...@MIT.EDU> writes:
> I wish I could set my working dir to build Subversion with -Werror, so
> that I notice these little things.  Unfortunately, mod_dav_svn doesn't
> build cleanly because we build with -Wstrict-prototypes and
> http_config.h uses a non-protype declaration of the cmd_func type. 
> (Which is not easily corrected, because cmd_func is used polymorphically
> without casting, and not just by Apache.)
>
> Has anyone come up with a clever workaround?

I've just learned to live with that one warning -- it's the sole
expected hit in my C-x ` routine after every compilation :-).

Not ideal, but I think it's worth living with in order to notice other
errors.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org