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

Re: Compile warnings

From: Chris Foote <cfoote_at_v21.me.uk>
Date: 2004-05-01 18:27:56 CEST

Josh Pieper wrote:

> D.J. Heap wrote:
> > A couple compiler warnings:
> >
> > \Projects\Subversion\subversion\libsvn_fs_fs\fs_fs.c(3426) : warning
> > C4101: 'status' : unreferenced local variable
> > \Projects\Subversion\subversion\libsvn_fs_fs\fs_fs.c(3427) : warning
> > C4101: 'finfo' : unreferenced local variable
>
> Fixed in r9593.
>
> -Josh

Also these.

\subversion\subversion\libsvn_fs_fs\fs_fs.c(69) : warning
C4101: 'buf' : unreferenced local variable
\subversion\subversion\libsvn_client\blame.c(237) : warning
C4101: 'change' : unreferenced local variable

Regards
Chris

Index: subversion/libsvn_fs_fs/fs_fs.c
===================================================================
--- subversion/libsvn_fs_fs/fs_fs.c (revision 9595)
+++ subversion/libsvn_fs_fs/fs_fs.c (working copy)
@@ -66,7 +66,7 @@
 {
   svn_stringbuf_t *stringbuf;
   svn_boolean_t eof;
- char buf[SVN_KEYLINE_MAXLEN];
+ apr_size_t len;
   char c;
   int first_time = 1;

@@ -74,8 +74,6 @@
   while (1)
     {
       /* Read a key length line. Might be END, though. */
- apr_size_t len = sizeof (buf);
-
       SVN_ERR (svn_stream_readline (stream, &stringbuf, "\n", &eof, pool));
       if (eof)
         {
Index: subversion/subversion/libsvn_client/blame.c
===================================================================
--- subversion/subversion/libsvn_client/blame.c (revision 9595)
+++ subversion/subversion/libsvn_client/blame.c (working copy)
@@ -234,7 +234,6 @@
                       const char *message,
                       apr_pool_t *pool)
 {
- svn_log_changed_path_t *change;
   struct log_message_baton *lmb = baton;
   struct rev *rev;

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 1 18:28:54 2004

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.