subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1130672 - /subversion/trunk/subversion/mod_dav_svn/version.c
Date Thu, 02 Jun 2011 17:31:37 GMT
Author: hwright
Date: Thu Jun  2 17:31:37 2011
New Revision: 1130672

URL: http://svn.apache.org/viewvc?rev=1130672&view=rev
Log:
* subversion/mod_dav_svn/version.c
  (dav_svn__checkout): Don't bother setting an ignored value.

Modified:
    subversion/trunk/subversion/mod_dav_svn/version.c

Modified: subversion/trunk/subversion/mod_dav_svn/version.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_dav_svn/version.c?rev=1130672&r1=1130671&r2=1130672&view=diff
==============================================================================
--- subversion/trunk/subversion/mod_dav_svn/version.c (original)
+++ subversion/trunk/subversion/mod_dav_svn/version.c Thu Jun  2 17:31:37 2011
@@ -348,7 +348,6 @@ dav_svn__checkout(dav_resource *resource
   /* Auto-Versioning Stuff */
   if (auto_checkout)
     {
-      dav_resource *res; /* ignored */
       const char *uuid_buf;
       void *data;
       const char *shared_activity, *shared_txn_name = NULL;
@@ -429,9 +428,9 @@ dav_svn__checkout(dav_resource *resource
 
       /* Tweak the VCR in-place, making it into a WR.  (Ignore the
          NULL return value.) */
-      res = dav_svn__create_working_resource(resource,
-                                             shared_activity, shared_txn_name,
-                                             TRUE /* tweak in place */);
+      dav_svn__create_working_resource(resource,
+                                       shared_activity, shared_txn_name,
+                                       TRUE /* tweak in place */);
 
       /* Remember that this resource was auto-checked-out, so that
          auto_versionable allows us to do an auto-checkin and



Mime
View raw message