From bcac59d81b63c352a9073104e7e63838e117a877 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 11 Aug 2005 17:33:43 +0000 Subject: silence various warnings --- src/cmd/9p.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/cmd/9p.c') diff --git a/src/cmd/9p.c b/src/cmd/9p.c index bace6d09..99033bc8 100644 --- a/src/cmd/9p.c +++ b/src/cmd/9p.c @@ -336,10 +336,8 @@ timefmt(Fmt *fmt) if((long)(time0-u) < 6*30*86400) return fmtprint(fmt, "%s %2d %02d:%02d", mon[tm->mon], tm->mday, tm->hour, tm->min); - else - return fmtprint(fmt, "%s %2d %5d", - mon[tm->mon], tm->mday, tm->year+1900); - return 0; + return fmtprint(fmt, "%s %2d %5d", + mon[tm->mon], tm->mday, tm->year+1900); } static int -- cgit v1.2.3