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 2011/04/19 13:15:14 UTC

svn commit: r1095027 - /subversion/trunk/subversion/libsvn_wc/node.c

Author: rhuijben
Date: Tue Apr 19 11:15:13 2011
New Revision: 1095027

URL: http://svn.apache.org/viewvc?rev=1095027&view=rev
Log:
* subversion/libsvn_wc/node.c
  (svn_wc__internal_node_get_schedule): Remove an unneeded if.

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

Modified: subversion/trunk/subversion/libsvn_wc/node.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/node.c?rev=1095027&r1=1095026&r2=1095027&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/node.c (original)
+++ subversion/trunk/subversion/libsvn_wc/node.c Tue Apr 19 11:15:13 2011
@@ -1266,13 +1266,12 @@ svn_wc__internal_node_get_schedule(svn_w
               break;
             }
 
-          if (schedule)
-            *schedule = svn_wc_schedule_add;
-
           if (copied)
             *copied = (copyfrom_relpath != NULL);
 
-          if (!schedule)
+          if (schedule)
+            *schedule = svn_wc_schedule_add;
+          else
             break;
 
           /* Check for replaced */