You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2014/01/10 19:17:15 UTC
svn commit: r1557209 - /subversion/trunk/subversion/libsvn_ra_serf/update.c
Author: rhuijben
Date: Fri Jan 10 18:17:15 2014
New Revision: 1557209
URL: http://svn.apache.org/r1557209
Log:
* subversion/libsvn_ra_serf/update.c
(handle_fetch): Resolve variable shadowing issue by removing a duplicated
pointer to the file baton.
Modified:
subversion/trunk/subversion/libsvn_ra_serf/update.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=1557209&r1=1557208&r2=1557209&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/update.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/update.c Fri Jan 10 18:17:15 2014
@@ -1013,7 +1013,6 @@ handle_fetch(serf_request_t *request,
{
serf_bucket_t *hdrs;
const char *val;
- file_baton_t *file;
/* If the error code wasn't 200, something went wrong. Don't use the
* returned data as its probably an error message. Just bail out instead.
@@ -1026,7 +1025,6 @@ handle_fetch(serf_request_t *request,
hdrs = serf_bucket_response_get_headers(response);
val = serf_bucket_headers_get(hdrs, "Content-Type");
- file = fetch_ctx->file;
if (val && svn_cstring_casecmp(val, SVN_SVNDIFF_MIME_TYPE) == 0)
{