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

Patch: squash a warning

From: Sam TH <sam_at_uchicago.edu>
Date: 2001-02-03 13:40:17 CET

This patch squashes one of the two current warnings in my build. The
other is on line 77 of client/diff.c, where we have the following
strange construction:

  printf( "===================================================================\n", path->data );

What exactly is supposed to be printed here?

Ok, the patch:

* adm_crawler.c (svn_wc_crawl_revisions): Remove unused variable to
squash warning.

Index: subversion/libsvn_wc/adm_crawler.c
===================================================================
RCS file: /cvs/subversion/subversion/libsvn_wc/adm_crawler.c,v
retrieving revision 1.71
diff -u -r1.71 adm_crawler.c
--- subversion/libsvn_wc/adm_crawler.c 2001/01/27 02:36:34 1.71
+++ subversion/libsvn_wc/adm_crawler.c 2001/02/03 12:30:30
@@ -1002,7 +1002,6 @@
   svn_error_t *err;
   svn_wc_entry_t *root_entry;
   svn_revnum_t master_revnum = SVN_INVALID_REVNUM;
- struct stack_object *stack = NULL;
 
   /* The first thing we do is get the master_revnum from the
      working copy's ROOT_DIRECTORY. This is the revnum that all

           
        sam th
        sam@uchicago.edu
        http://www.abisource.com/~sam/
        GnuPG Key:
        http://www.abisource.com/~sam/key

  • application/pgp-signature attachment: stored
Received on Sat Oct 21 14:36:21 2006

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.