subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1543193 - /subversion/trunk/subversion/mod_dav_svn/reports/update.c
Date Mon, 18 Nov 2013 22:15:01 GMT
Author: julianfoad
Date: Mon Nov 18 22:15:01 2013
New Revision: 1543193

URL: http://svn.apache.org/r1543193
Log:
A source code style tweak.

* subversion/mod_dav_svn/reports/update.c
  (validate_input_revision): Use NULL instead of SVN_NO_ERROR as the constant
    for a (dav_error *) no-error, like everywhere else.

Modified:
    subversion/trunk/subversion/mod_dav_svn/reports/update.c

Modified: subversion/trunk/subversion/mod_dav_svn/reports/update.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/mod_dav_svn/reports/update.c?rev=1543193&r1=1543192&r2=1543193&view=diff
==============================================================================
--- subversion/trunk/subversion/mod_dav_svn/reports/update.c (original)
+++ subversion/trunk/subversion/mod_dav_svn/reports/update.c Mon Nov 18 22:15:01 2013
@@ -934,7 +934,7 @@ validate_input_revision(svn_revnum_t rev
                         const dav_resource *resource)
 {
   if (! SVN_IS_VALID_REVNUM(revision))
-    return SVN_NO_ERROR;
+    return NULL;
 
   if (revision > youngest)
     {
@@ -958,7 +958,7 @@ validate_input_revision(svn_revnum_t rev
                                   "Invalid revision found in update report "
                                   "request.", resource->pool);
     }
-  return SVN_NO_ERROR;
+  return NULL;
 }
 
 



Mime
View raw message