You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2012/02/15 15:00:39 UTC
svn commit: r1244488 - /subversion/trunk/subversion/libsvn_client/externals.c
Author: stsp
Date: Wed Feb 15 14:00:39 2012
New Revision: 1244488
URL: http://svn.apache.org/viewvc?rev=1244488&view=rev
Log:
* subversion/libsvn_client/externals.c
(handle_external_item_change): Remove redundant local variable local_kind.
Modified:
subversion/trunk/subversion/libsvn_client/externals.c
Modified: subversion/trunk/subversion/libsvn_client/externals.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/externals.c?rev=1244488&r1=1244487&r2=1244488&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/externals.c (original)
+++ subversion/trunk/subversion/libsvn_client/externals.c Wed Feb 15 14:00:39 2012
@@ -610,9 +610,6 @@ handle_external_item_change(const struct
const char *repos_uuid;
const char *new_url;
svn_node_kind_t ext_kind;
- svn_node_kind_t local_kind;
-
- local_kind = svn_node_unknown;
SVN_ERR_ASSERT(eb->repos_root_url && parent_dir_url);
SVN_ERR_ASSERT(new_item != NULL);
@@ -655,8 +652,6 @@ handle_external_item_change(const struct
"or a directory"),
ra_session_url, ra_revnum);
- local_kind = ext_kind;
-
/* Not protecting against recursive externals. Detecting them in
the global case is hard, and it should be pretty obvious to a
@@ -682,7 +677,7 @@ handle_external_item_change(const struct
scratch_pool));
}
- switch (local_kind)
+ switch (ext_kind)
{
case svn_node_dir:
SVN_ERR(switch_dir_external(local_abspath, new_url,