From: phk Date: Wed, 30 Jan 2008 10:15:07 +0000 (+0000) Subject: Silence Flexelint X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=536062e979b46583a06ebda1221b0f9a81806910;p=varnish Silence Flexelint git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2408 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- 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 ? */