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

Re: [PATCH] Fix compiler warning

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Mon, 21 Apr 2008 01:55:02 -0400

Senthil Kumaran S <senthil_at_collab.net> writes:
> I am attaching a patch along with this email which fixes a compiler
> warning of "Incompatible Pointer type".
>
> [[[
> Fix compiler warning of incompatible pointer type.
>
> * subversion/libsvn_client/ra.c
> (svn_client__open_ra_session_internal): Declare svn_wc_entry_t as constant.
>
> Patch by: stylesen
> ]]]

+1 to commit, and thanks!

> Index: subversion/libsvn_client/ra.c
> ===================================================================
> --- subversion/libsvn_client/ra.c (revision 30725)
> +++ subversion/libsvn_client/ra.c (working copy)
> @@ -313,7 +313,7 @@
>
> if (base_access)
> {
> - svn_wc_entry_t *entry;
> + const svn_wc_entry_t *entry;
>
> SVN_ERR(svn_wc_entry(&entry, base_dir, base_access, FALSE, pool));
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: dev-help_at_subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-22 08:55:12 CEST

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.