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

[PATCH][merge-tracking]remove unused variables in subversion/libsvn_ra_dav/mergeinfo.c

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2006-09-19 09:20:48 CEST

Hi All,
Find the attached patch and log.

With regards
Kamesh Jayachandran

[[[
Patch by: Kamesh Jayachandran <kamesh@collab.net>

* subversion/libsvn_ra_dav/mergeinfo.c
  (cdata_handler): 'nlen' never used.
  (svn_ra_dav__get_merge_info): 'err' never used.
]]]

Index: subversion/libsvn_ra_dav/mergeinfo.c
===================================================================
--- subversion/libsvn_ra_dav/mergeinfo.c (revision 21550)
+++ subversion/libsvn_ra_dav/mergeinfo.c (working copy)
@@ -130,7 +130,6 @@
 cdata_handler(void *baton, int state, const char *cdata, size_t len)
 {
   struct mergeinfo_baton *mb = baton;
- apr_size_t nlen = len;
 
   switch (state)
     {
@@ -166,8 +165,6 @@
   svn_stringbuf_t *request_body = svn_stringbuf_create("", pool);
   struct mergeinfo_baton mb;
 
- svn_error_t *err;
-
   /* ### todo: I don't understand why the static, file-global
      variables shared by update and status are called `report_head'
      and `report_tail', instead of `request_head' and `request_tail'.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 19 09:20:27 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.