Author: breser
Date: Thu Aug 21 14:21:32 2014
New Revision: 1619407

URL: http://svn.apache.org/r1619407
Log:
On svn-auth-x509 branch, Remove useless cast.

* subversion/libsvn_subr/x509parse.c
  (x509_name): You don't have to cast a void * to another pointer type.

Modified:
    subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c

Modified: subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c
URL: 
http://svn.apache.org/viewvc/subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c?rev=1619407&r1=1619406&r2=1619407&view=diff
==============================================================================
--- subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c 
(original)
+++ subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c Thu 
Aug 21 14:21:32 2014
@@ -370,7 +370,7 @@ x509_get_name(const unsigned char **p, c
   if (*p == end2)
     return SVN_NO_ERROR;
 
-  cur->next = (x509_name *) apr_palloc(result_pool, sizeof(x509_name));
+  cur->next = apr_palloc(result_pool, sizeof(x509_name));
 
   if (cur->next == NULL)
     return SVN_NO_ERROR;


Reply via email to