Author: hwright
Date: Tue Jun 28 19:13:05 2011
New Revision: 1140791

URL: http://svn.apache.org/viewvc?rev=1140791&view=rev
Log:
* subversion/libsvn_wc/adm_ops.c
  (revert_restore): Further extend the conditional variable declaration and
    usage to another variable.

Modified:
    subversion/trunk/subversion/libsvn_wc/adm_ops.c

Modified: subversion/trunk/subversion/libsvn_wc/adm_ops.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/adm_ops.c?rev=1140791&r1=1140790&r2=1140791&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/adm_ops.c (original)
+++ subversion/trunk/subversion/libsvn_wc/adm_ops.c Tue Jun 28 19:13:05 2011
@@ -1392,15 +1392,17 @@ revert_restore(svn_wc__db_t *db,
           svn_boolean_t executable;
           svn_boolean_t read_only;
           apr_hash_t *props;
+#ifdef HAVE_SYMLINK
           svn_string_t *special_prop;
+#endif
 
           SVN_ERR(svn_wc__db_read_pristine_props(&props, db, local_abspath,
                                                  scratch_pool, scratch_pool));
 
+#ifdef HAVE_SYMLINK
           special_prop = apr_hash_get(props, SVN_PROP_SPECIAL,
                                       APR_HASH_KEY_STRING);
 
-#ifdef HAVE_SYMLINK
           if ((special_prop != NULL) != special)
             {
               /* File/symlink mismatch. */


Reply via email to