You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2012/06/12 15:18:01 UTC

svn commit: r1349315 - /subversion/trunk/subversion/libsvn_delta/compat.c

Author: stefan2
Date: Tue Jun 12 13:18:01 2012
New Revision: 1349315

URL: http://svn.apache.org/viewvc?rev=1349315&view=rev
Log:
Fix "unreachable code" warning.

* /subversion/libsvn_delta/compat.c
  (add_symlink_cb, alter_symlink_cb, rotate_cb): SVN__NOT_IMPLEMENTED
   does an unconditional return; so remove the trailing return SVN_NO_ERROR

Modified:
    subversion/trunk/subversion/libsvn_delta/compat.c

Modified: subversion/trunk/subversion/libsvn_delta/compat.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_delta/compat.c?rev=1349315&r1=1349314&r2=1349315&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_delta/compat.c (original)
+++ subversion/trunk/subversion/libsvn_delta/compat.c Tue Jun 12 13:18:01 2012
@@ -1136,7 +1136,6 @@ add_symlink_cb(void *baton,
 #endif
 
   SVN__NOT_IMPLEMENTED();
-  return SVN_NO_ERROR;
 }
 
 /* This implements svn_editor_cb_add_absent_t */
@@ -1248,7 +1247,6 @@ alter_symlink_cb(void *baton,
   /* ### do something  */
 
   SVN__NOT_IMPLEMENTED();
-  return SVN_NO_ERROR;
 }
 
 /* This implements svn_editor_cb_delete_t */
@@ -1344,7 +1342,6 @@ rotate_cb(void *baton,
           apr_pool_t *scratch_pool)
 {
   SVN__NOT_IMPLEMENTED();
-  return SVN_NO_ERROR;
 }