summaryrefslogtreecommitdiff
path: root/tables
diff options
context:
space:
mode:
authorjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-11-15 14:00:12 +0000
committerjorton <jorton@13f79535-47bb-0310-9956-ffa450edef68>2004-11-15 14:00:12 +0000
commit13464d860d911d8fa82fd0997c4d4157d68a0c29 (patch)
tree19c2322021b0ee9e29de8ac8726e5a5b0c769f08 /tables
parent70a5ca672365d7712c2936a6ffc3cef88c4d702b (diff)
downloadlibapr-13464d860d911d8fa82fd0997c4d4157d68a0c29.tar.gz
Merge r71501 from trunk:
* tables/apr_hash.c (find_entry): Fix gcc warning. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/APR_0_9_BRANCH@71502 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tables')
-rw-r--r--tables/apr_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tables/apr_hash.c b/tables/apr_hash.c
index b06ecb942..16cc762e3 100644
--- a/tables/apr_hash.c
+++ b/tables/apr_hash.c
@@ -245,7 +245,7 @@ static apr_hash_entry_t **find_entry(apr_hash_t *ht,
return hep;
/* add a new entry for non-NULL values */
- if (he = ht->free)
+ if ((he = ht->free) != NULL)
ht->free = he->next;
else
he = apr_palloc(ht->pool, sizeof(*he));