aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_time.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_time.c')
-rw-r--r--src/os/unix/ngx_time.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os/unix/ngx_time.c b/src/os/unix/ngx_time.c
index 72137f952..1b1a56697 100644
--- a/src/os/unix/ngx_time.c
+++ b/src/os/unix/ngx_time.c
@@ -14,7 +14,7 @@ void ngx_localtime(ngx_tm_t *tm)
time_t now;
now = ngx_time();
- localtime_r(&now, tm);
+ (void) localtime_r(&now, tm);
#else
time_t now;
@@ -37,7 +37,7 @@ void ngx_libc_localtime(struct tm *tm)
time_t now;
now = ngx_time();
- localtime_r(&now, tm);
+ (void) localtime_r(&now, tm);
#else
time_t now;
@@ -57,7 +57,7 @@ void ngx_libc_gmtime(struct tm *tm)
time_t now;
now = ngx_time();
- gmtime_r(&now, tm);
+ (void) gmtime_r(&now, tm);
#else
time_t now;