Commit 34d00b09 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

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
parent 0e8f2a6d
Loading
Loading
Loading
Loading
+1 −3
Changes for os/win32/ap_regkey.c: 1 added line, 3 removed lines.
Original line number Diff line number Diff line
@@ -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