apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1130269 - in /apr/apr/trunk/crypto: apr_crypto_nss.c apr_crypto_openssl.c
Date Wed, 01 Jun 2011 19:40:14 GMT
Author: sf
Date: Wed Jun  1 19:40:14 2011
New Revision: 1130269

URL: http://svn.apache.org/viewvc?rev=1130269&view=rev
Log:
Fix some "no return statement in function returning non-void" warnings

Modified:
    apr/apr/trunk/crypto/apr_crypto_nss.c
    apr/apr/trunk/crypto/apr_crypto_openssl.c

Modified: apr/apr/trunk/crypto/apr_crypto_nss.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/crypto/apr_crypto_nss.c?rev=1130269&r1=1130268&r2=1130269&view=diff
==============================================================================
--- apr/apr/trunk/crypto/apr_crypto_nss.c (original)
+++ apr/apr/trunk/crypto/apr_crypto_nss.c Wed Jun  1 19:40:14 2011
@@ -314,6 +314,7 @@ static apr_status_t crypto_get_block_key
         const apr_crypto_t *f)
 {
     *types = f->types;
+    return APR_SUCCESS;
 }
 
 /**
@@ -328,6 +329,7 @@ static apr_status_t crypto_get_block_key
         const apr_crypto_t *f)
 {
     *modes = f->modes;
+    return APR_SUCCESS;
 }
 
 /**

Modified: apr/apr/trunk/crypto/apr_crypto_openssl.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/crypto/apr_crypto_openssl.c?rev=1130269&r1=1130268&r2=1130269&view=diff
==============================================================================
--- apr/apr/trunk/crypto/apr_crypto_openssl.c (original)
+++ apr/apr/trunk/crypto/apr_crypto_openssl.c Wed Jun  1 19:40:14 2011
@@ -256,6 +256,7 @@ static apr_status_t crypto_get_block_key
         const apr_crypto_t *f)
 {
     *types = f->types;
+    return APR_SUCCESS;
 }
 
 /**
@@ -270,6 +271,7 @@ static apr_status_t crypto_get_block_key
         const apr_crypto_t *f)
 {
     *modes = f->modes;
+    return APR_SUCCESS;
 }
 
 /**



Mime
View raw message