subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1554620 - in /subversion/trunk/subversion/libsvn_ra_serf: update.c util.c
Date Wed, 01 Jan 2014 14:08:28 GMT
Author: stefan2
Date: Wed Jan  1 14:08:28 2014
New Revision: 1554620

URL: http://svn.apache.org/r1554620
Log:
Fix "declaration shadows previous local" compiler warnings.
No functional change.

* subversion/libsvn_ra_serf/update.c
  (finish_report): Remove declaration of ERR from local scope
                   as there is already a function-global ERR.

* subversion/libsvn_ra_serf/util.c
  (svn_ra_serf__handle_xml_parser): Ditto.

Modified:
    subversion/trunk/subversion/libsvn_ra_serf/update.c
    subversion/trunk/subversion/libsvn_ra_serf/util.c

Modified: subversion/trunk/subversion/libsvn_ra_serf/update.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/update.c?rev=1554620&r1=1554619&r2=1554620&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/update.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/update.c Wed Jan  1 14:08:28 2014
@@ -2908,7 +2908,6 @@ finish_report(void *report_baton,
     {
       svn_ra_serf__list_t *done_list;
       int i;
-      svn_error_t *err;
 
       /* Note: this throws out the old ITERPOOL_INNER.  */
       svn_pool_clear(iterpool);

Modified: subversion/trunk/subversion/libsvn_ra_serf/util.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_serf/util.c?rev=1554620&r1=1554619&r2=1554620&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/util.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/util.c Wed Jan  1 14:08:28 2014
@@ -1487,7 +1487,6 @@ svn_ra_serf__handle_xml_parser(serf_requ
              in the PENDING structures, then we're completely done.  */
           if (!HAS_PENDING_DATA(ctx->pending))
             {
-              svn_error_t *err;
               SVN_ERR_ASSERT(ctx->xmlp != NULL);
 
               err = parse_xml(ctx->xmlp, NULL, 0, TRUE);



Mime
View raw message