]> err.no Git - varnish/commitdiff
Silence Flexelint
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 30 Jan 2008 10:15:07 +0000 (10:15 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 30 Jan 2008 10:15:07 +0000 (10:15 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2408 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/lib/libvarnish/time.c

index d3a337ac82884cb7cc2207931ff8d85cd98f114d..5e092ea3bcefe9fb8eed6f4e8a817e0dec8fe02c 100644 (file)
@@ -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 ? */