axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r348633 - /webservices/axis2/trunk/c/modules/util/src/hash.c
Date Thu, 24 Nov 2005 03:58:22 GMT
Author: samisa
Date: Wed Nov 23 19:58:16 2005
New Revision: 348633

URL: http://svn.apache.org/viewcvs?rev=348633&view=rev
Log:
Fixed some warnings

Modified:
    webservices/axis2/trunk/c/modules/util/src/hash.c

Modified: webservices/axis2/trunk/c/modules/util/src/hash.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/src/hash.c?rev=348633&r1=348632&r2=348633&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/src/hash.c (original)
+++ webservices/axis2/trunk/c/modules/util/src/hash.c Wed Nov 23 19:58:16 2005
@@ -503,24 +503,24 @@
     return res;
 }
 
-static void
+static axis2_status_t
 axis2_hash_entry_free (axis2_env_t **environment, axis2_hash_entry_t *hash_entry)
 {
-    AXIS2_ENV_CHECK(environment, NULL);
+    AXIS2_ENV_CHECK(environment, AXIS2_FAILURE);
     if (!hash_entry)
-        return;
+        return AXIS2_FAILURE;
     if (hash_entry->next)
     {
         axis2_hash_entry_free (environment, hash_entry->next);
     }
     AXIS2_FREE ((*environment)->allocator, hash_entry);
-    return;
+    return AXIS2_SUCCESS;
 }
 
 AXIS2_DECLARE(axis2_status_t)
 axis2_hash_free (axis2_hash_t *ht, axis2_env_t** environment)
 {
-    AXIS2_ENV_CHECK(environment, NULL);
+    AXIS2_ENV_CHECK(environment, AXIS2_FAILURE);
     if (ht)
     {
         if (ht->free)



Mime
View raw message