You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2004/11/15 15:00:14 UTC
svn commit: rev 71502 - apr/apr/branches/APR_0_9_BRANCH/tables
Author: jorton
Date: Mon Nov 15 06:00:12 2004
New Revision: 71502
Modified:
apr/apr/branches/APR_0_9_BRANCH/tables/apr_hash.c
Log:
Merge r71501 from trunk:
* tables/apr_hash.c (find_entry): Fix gcc warning.
Modified: apr/apr/branches/APR_0_9_BRANCH/tables/apr_hash.c
==============================================================================
--- apr/apr/branches/APR_0_9_BRANCH/tables/apr_hash.c (original)
+++ apr/apr/branches/APR_0_9_BRANCH/tables/apr_hash.c Mon Nov 15 06:00:12 2004
@@ -245,7 +245,7 @@
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));