subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From phi...@apache.org
Subject svn commit: r1512392 - /subversion/trunk/subversion/bindings/javahl/native/CommitEditor.cpp
Date Fri, 09 Aug 2013 16:51:18 GMT
Author: philip
Date: Fri Aug  9 16:51:18 2013
New Revision: 1512392

URL: http://svn.apache.org/r1512392
Log:
* subversion/bindings/javahl/native/CommitEditor.cpp
  (CommitEditor::provide_base_cb): Use SVN_INVALID_REVNUM rather than
   NULL to fix a compiler warning.

Modified:
    subversion/trunk/subversion/bindings/javahl/native/CommitEditor.cpp

Modified: subversion/trunk/subversion/bindings/javahl/native/CommitEditor.cpp
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/native/CommitEditor.cpp?rev=1512392&r1=1512391&r2=1512392&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/native/CommitEditor.cpp (original)
+++ subversion/trunk/subversion/bindings/javahl/native/CommitEditor.cpp Fri Aug  9 16:51:18
2013
@@ -528,7 +528,7 @@ CommitEditor::provide_base_cb(svn_stream
                               apr_pool_t *scratch_pool)
 {
   *contents = NULL;
-  *revision = NULL;
+  *revision = SVN_INVALID_REVNUM;
   return SVN_NO_ERROR;
 }
 



Mime
View raw message