httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1089690 - /httpd/httpd/trunk/os/win32/ap_regkey.c
Date Thu, 07 Apr 2011 00:07:50 GMT
Author: trawick
Date: Thu Apr  7 00:07:50 2011
New Revision: 1089690

URL: http://svn.apache.org/viewvc?rev=1089690&view=rev
Log:
axe a couple of unused vars, mark a function as static

Modified:
    httpd/httpd/trunk/os/win32/ap_regkey.c

Modified: httpd/httpd/trunk/os/win32/ap_regkey.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/os/win32/ap_regkey.c?rev=1089690&r1=1089689&r2=1089690&view=diff
==============================================================================
--- httpd/httpd/trunk/os/win32/ap_regkey.c (original)
+++ httpd/httpd/trunk/os/win32/ap_regkey.c Thu Apr  7 00:07:50 2011
@@ -43,7 +43,7 @@ AP_DECLARE(const ap_regkey_t *) ap_regke
 }
 
 
-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
     {
         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



Mime
View raw message