Skip to content

Commit bba4a52

Browse files
authored
Update nginx_link_function_module.c
1 parent dd79947 commit bba4a52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

freebsd_test/nginx_link_function_module.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ ngx_http_link_func_proceed_init_calls(ngx_cycle_t* cycle, ngx_http_link_func_sr
641641
ngx_http_link_func_app_cycle_handler func;
642642

643643
#if __FreeBSD__
644-
dlerror();
644+
(void) dlerror();
645645
#endif
646646

647647
*(void**)(&func) = dlsym(scf->_app, (const char*)"ngx_link_func_init_cycle");
@@ -911,7 +911,7 @@ ngx_http_link_func_module_init(ngx_cycle_t *cycle) {
911911
if ( ( lcf->_handler = ngx_http_link_func_get_duplicate_handler(scf, &lcf->_method_name) ) == NULL ) {
912912

913913
#if __FreeBSD__
914-
dlerror();
914+
(void) dlerror();
915915
#endif
916916

917917
*(void**)(&lcf->_handler) = dlsym(scf->_app, (const char*)lcf->_method_name.data);
@@ -1013,7 +1013,7 @@ ngx_http_link_func_process_exit(ngx_cycle_t *cycle) {
10131013
ngx_http_link_func_app_cycle_handler func;
10141014

10151015
#if __FreeBSD__
1016-
dlerror();
1016+
(void) dlerror();
10171017
#endif
10181018

10191019
*(void**)(&func) = dlsym(scf->_app, (const char*)"ngx_link_func_exit_cycle");

0 commit comments

Comments
 (0)