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

Re: compiler printf format warning

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-05-23 22:09:57 CEST

Philip Martin <philip@codematters.co.uk> writes:
> ../svn/subversion/libsvn_fs/reps-strings.c: In function `svn_fs__rep_contents_clear':
> ../svn/subversion/libsvn_fs/reps-strings.c:1076: warning: char format, svn_fs__representation_t arg (arg 6)
>
> return svn_error_createf
> (SVN_ERR_FS_REP_NOT_MUTABLE, 0, NULL, trail->pool,
> "svn_fs__rep_contents_clear: rep \"%s\" is not mutable", rep);
>
> It's not immediately obvious to me which bit of rep should be printed.

I think it should print just rep_key (which is a param). Done in
revision 2009, thanks!

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 23 22:12:56 2002

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.