subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject svn commit: r1532944 - /subversion/trunk/subversion/libsvn_repos/dump.c
Date Thu, 17 Oct 2013 00:08:47 GMT
Author: breser
Date: Thu Oct 17 00:08:46 2013
New Revision: 1532944

URL: http://svn.apache.org/r1532944
Log:
Followup to r1532866: remove a pointless cast dance now that we're not shoving
the kind value in a void pointer.

* subversion/libsvn_repos/dump.c
  (deserialize_node_kind): Both values are already voids.

Modified:
    subversion/trunk/subversion/libsvn_repos/dump.c

Modified: subversion/trunk/subversion/libsvn_repos/dump.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/dump.c?rev=1532944&r1=1532943&r2=1532944&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/dump.c (original)
+++ subversion/trunk/subversion/libsvn_repos/dump.c Thu Oct 17 00:08:46 2013
@@ -1494,7 +1494,7 @@ deserialize_node_kind(void **out,
                       apr_size_t data_len,
                       apr_pool_t *pool)
 {
-  *(svn_node_kind_t **)out = (svn_node_kind_t *)data;
+  *out = data;
 
   return SVN_NO_ERROR;
 }



Mime
View raw message