From 536062e979b46583a06ebda1221b0f9a81806910 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 30 Jan 2008 10:15:07 +0000 Subject: [PATCH] Silence Flexelint git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2408 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/lib/libvarnish/time.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/varnish-cache/lib/libvarnish/time.c b/varnish-cache/lib/libvarnish/time.c index d3a337ac..5e092ea3 100644 --- a/varnish-cache/lib/libvarnish/time.c +++ b/varnish-cache/lib/libvarnish/time.c @@ -93,8 +93,8 @@ TIM_format(double t, char *p) time_t tt; tt = (time_t) t; - gmtime_r(&tt, &tm); - strftime(p, 30, "%a, %d %b %Y %T GMT", &tm); + (void)gmtime_r(&tt, &tm); + AN(strftime(p, 30, "%a, %d %b %Y %T GMT", &tm)); } /* XXX: add statistics ? */ -- 2.39.5