subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julianf...@apache.org
Subject svn commit: r1817814 - in /subversion/trunk/subversion: include/private/svn_element.h libsvn_delta/element.c
Date Mon, 11 Dec 2017 19:58:03 GMT
Author: julianfoad
Date: Mon Dec 11 19:58:02 2017
New Revision: 1817814

URL: http://svn.apache.org/viewvc?rev=1817814&view=rev
Log:
* subversion/include/private/svn_element.h,
  subversion/libsvn_delta/element.c
  (svn_element__tree_set): Remove unused 'svn_error_t *' return.

Found by: danielsh
  using 'tools/dev/warn-unused-result.sh'

Modified:
    subversion/trunk/subversion/include/private/svn_element.h
    subversion/trunk/subversion/libsvn_delta/element.c

Modified: subversion/trunk/subversion/include/private/svn_element.h
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/private/svn_element.h?rev=1817814&r1=1817813&r2=1817814&view=diff
==============================================================================
--- subversion/trunk/subversion/include/private/svn_element.h (original)
+++ subversion/trunk/subversion/include/private/svn_element.h Mon Dec 11 19:58:02 2017
@@ -348,7 +348,7 @@ svn_element__content_t *
 svn_element__tree_get(const svn_element__tree_t *tree,
                       int eid);
 
-svn_error_t *
+void
 svn_element__tree_set(svn_element__tree_t *tree,
                       int eid,
                       const svn_element__content_t *element);

Modified: subversion/trunk/subversion/libsvn_delta/element.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_delta/element.c?rev=1817814&r1=1817813&r2=1817814&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_delta/element.c (original)
+++ subversion/trunk/subversion/libsvn_delta/element.c Mon Dec 11 19:58:02 2017
@@ -375,14 +375,12 @@ svn_element__tree_get(const svn_element_
   return svn_eid__hash_get(tree->e_map, eid);
 }
 
-svn_error_t *
+void
 svn_element__tree_set(svn_element__tree_t *tree,
                       int eid,
                       const svn_element__content_t *element)
 {
   svn_eid__hash_set(tree->e_map, eid, element);
-
-  return SVN_NO_ERROR;
 }
 
 void



Mime
View raw message