From: Jeff Trawick Date: Thu, 7 Apr 2011 00:07:50 +0000 (+0000) Subject: axe a couple of unused vars, mark a function as static X-Git-Tag: 2.3.12~87 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97597f69680b53ccf9e111330fdfd3d6ad369918;p=apache 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 --- 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