On 2015-06-18 19:08, Jim Jagielski wrote: > Subj sez it all. > I don't know if it is worth to report this, but the on 2.4.12. I don't see the following warnings
Test build 2.4.15 (Last Changed Rev: 1686275) --- core.lo --- core.c:5003:1: warning: unused variable 'aplog_module_index' [-Wunused-const-variable] AP_DECLARE_MODULE(core) = { ^ /usr/ports/www/apache24/work/httpd-2.4.14/include/http_config.h:437:5: note: expanded from macro 'AP_DECLARE_MODULE' APLOG_USE_MODULE(foo); \ ^ /usr/ports/www/apache24/work/httpd-2.4.14/include/http_config.h:427:24: note: expanded from macro 'APLOG_USE_MODULE' static int * const aplog_module_index = &(foo##_module.module_index) ^ --- http_core.lo --- http_core.c:320:1: warning: unused variable 'aplog_module_index' [-Wunused-const-variable] AP_DECLARE_MODULE(http) = { ^ /usr/ports/www/apache24/work/httpd-2.4.14/include/http_config.h:437:5: note: expanded from macro 'AP_DECLARE_MODULE' APLOG_USE_MODULE(foo); \ ^ /usr/ports/www/apache24/work/httpd-2.4.14/include/http_config.h:427:24: note: expanded from macro 'APLOG_USE_MODULE' static int * const aplog_module_index = &(foo##_module.module_index) ^ --- mod_buffer.slo --- ...