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

Re: [PATCH] Move unused parameter warning suppression into a macro

From: Jonathan Gilbert <o2w9gs702_at_sneakemail.com>
Date: 2005-10-25 07:31:20 CEST

At 12:26 AM 25/10/2005 -0500, I wrote:
>Log:
>
>Move unused parameter warning suppression into a macro instead of directly
>using "(void)p;" or "p=p;" in otherwise semantically-oriented source code.

Complete log:

Move unused parameter warning suppression into a macro.
Source code was directly using "(void)p;" or "p=p;" in otherwise
semantically-oriented source code.

        * subversion/include/svn_types.h: Added macro SVN_UNUSED_PARAMETER(x).
        * subversion/libsvn_wc/adm_files.c: Changed '(void)pool;' to
          'SVN_UNUSED_PARAMETER(pool);' (in two places).
        * subversion/libsvn_subr/config.c: Changed '(void)(baton);' and
          '(void)(section);' to 'SVN_UNUSED_PARAMETER(baton);' and
          'SVN_UNUSED_PARAMETER(section);' respectively.

Sorry about that, I completely forget when I fired off the e-mail. I even
knew about SVN log messages too! :-)

Jonathan Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 25 07:30:23 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.