diff options
author | Jeff Trawick <trawick@apache.org> | 2011-04-07 00:07:50 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2011-04-07 00:07:50 +0000 |
commit | 97597f69680b53ccf9e111330fdfd3d6ad369918 (patch) | |
tree | 28ea7e01d84b74284f4537df2c1d3e37d57aca19 /os | |
parent | 209fe38e89c7b5dd9e5cc4a74f1ecda5e4e73f75 (diff) | |
download | httpd-97597f69680b53ccf9e111330fdfd3d6ad369918.tar.gz |
axe a couple of unused vars, mark a function as static
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089690 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'os')
-rw-r--r-- | os/win32/ap_regkey.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/os/win32/ap_regkey.c b/os/win32/ap_regkey.c index 3951f90a60..e080ab4f1f 100644 --- a/os/win32/ap_regkey.c +++ b/os/win32/ap_regkey.c @@ -43,7 +43,7 @@ AP_DECLARE(const ap_regkey_t *) ap_regkey_const(int i) } -apr_status_t regkey_cleanup(void *key) +static apr_status_t regkey_cleanup(void *key) { ap_regkey_t *regkey = key; @@ -468,8 +468,6 @@ AP_DECLARE(apr_status_t) ap_regkey_value_array_get(apr_array_header_t **result, { apr_size_t alloclen; apr_size_t valuelen = strlen(valuename) + 1; - apr_size_t wvallen = 256; - apr_wchar_t *wvalue = (apr_wchar_t *)value; /* ###: deliberately overallocate plus two extra nulls. * We could precalculate the exact buffer here instead, the question |