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:14:27 UTC
svn commit: r1557208 - /subversion/trunk/subversion/libsvn_ra_serf/update.c
Author: rhuijben
Date: Fri Jan 10 18:14:27 2014
New Revision: 1557208
URL: http://svn.apache.org/r1557208
Log:
* subversion/libsvn_ra_serf/update.c
(update_opened): Fix C89 compatibility by moving variable definition.
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=1557208&r1=1557207&r2=1557208&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_serf/update.c (original)
+++ subversion/trunk/subversion/libsvn_ra_serf/update.c Fri Jan 10 18:14:27 2014
@@ -1489,9 +1489,10 @@ update_opened(svn_ra_serf__xml_estate_t
case ADD_DIR:
{
dir_baton_t *dir;
+ const char *name;
attrs = svn_ra_serf__xml_gather_since(xes, entered_state);
- const char *name = svn_hash_gets(attrs, "name");
+ name = svn_hash_gets(attrs, "name");
if (!name)
name = "";