summaryrefslogtreecommitdiff
path: root/server/provider.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2012-07-15 21:14:00 +0000
committerStefan Fritsch <sf@apache.org>2012-07-15 21:14:00 +0000
commit8c960a8c15d9915729125c513feef62cf867d8b9 (patch)
treeae3eb03a839d9aeed9ff800a7310aac2f9a150ef /server/provider.c
parent9c6e2a2b62b1b1a04adad2529f34a1a8e2ede1d5 (diff)
downloadhttpd-8c960a8c15d9915729125c513feef62cf867d8b9.tar.gz
Various code clean up
Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr> PR: 52893 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1361801 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/provider.c')
-rw-r--r--server/provider.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/provider.c b/server/provider.c
index ade0f4e9a2..a102dd851b 100644
--- a/server/provider.c
+++ b/server/provider.c
@@ -136,7 +136,7 @@ AP_DECLARE(apr_array_header_t *) ap_list_provider_names(apr_pool_t *pool,
ap_list_provider_names_t *entry;
apr_hash_t *provider_group_hash, *h;
apr_hash_index_t *hi;
- char *val, *key;
+ char *val;
if (global_providers_names == NULL) {
return ret;
@@ -157,7 +157,7 @@ AP_DECLARE(apr_array_header_t *) ap_list_provider_names(apr_pool_t *pool,
}
for (hi = apr_hash_first(pool, h); hi; hi = apr_hash_next(hi)) {
- apr_hash_this(hi, (void *)&key, NULL, (void *)&val);
+ apr_hash_this(hi, NULL, NULL, (void *)&val);
entry = apr_array_push(ret);
entry->provider_name = apr_pstrdup(pool, val);
}