subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ne...@apache.org
Subject svn commit: r959139 - /subversion/trunk/subversion/libsvn_wc/node.c
Date Tue, 29 Jun 2010 23:13:22 GMT
Author: neels
Date: Tue Jun 29 23:13:21 2010
New Revision: 959139

URL: http://svn.apache.org/viewvc?rev=959139&view=rev
Log:
Fix r959112 for good, hopefully.

* subversion/libsvn_wc/node.c
  (svn_wc__node_get_copyfrom_info): Don't forget to initialize out params.

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=959139&r1=959138&r2=959139&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/node.c (original)
+++ subversion/trunk/subversion/libsvn_wc/node.c Tue Jun 29 23:13:21 2010
@@ -477,6 +477,10 @@ svn_wc__node_get_copyfrom_info(const cha
   svn_revnum_t original_revision;
   svn_wc__db_status_t status;
 
+  if (copyfrom_root_url)
+    *copyfrom_root_url = NULL;
+  if (copyfrom_repos_relpath)
+    *copyfrom_repos_relpath = NULL;
   if (copyfrom_url)
     *copyfrom_url = NULL;
   if (copyfrom_rev)



Mime
View raw message