From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9364 invoked from network); 4 Jul 2002 16:49:04 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 4 Jul 2002 16:49:04 -0000 Received: (qmail 14140 invoked by alias); 4 Jul 2002 16:48:55 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 17417 Received: (qmail 14129 invoked from network); 4 Jul 2002 16:48:54 -0000 Date: Thu, 4 Jul 2002 12:48:48 -0400 From: Clint Adams To: Bart Schaefer Cc: zsh-workers@sunsite.dk Subject: Re: What's datetime_nam ? Message-ID: <20020704164848.GA29436@dman.com> References: <1020704144600.ZM21191@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1020704144600.ZM21191@candle.brasslantern.com> User-Agent: Mutt/1.3.28i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) > Src/Modules/datetime.c: In function `bin_strftime': > Src/Modules/datetime.c:39: warning: unused variable `ret' > Src/Modules/datetime.c: At top level: > Src/Modules/datetime.c:34: warning: `datetime_nam' defined but not used Artifact from a time when there was a bit more functionality intended, I think. Index: Src/Modules/datetime.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/Modules/datetime.c,v retrieving revision 1.1 diff -u -r1.1 datetime.c --- Src/Modules/datetime.c 26 May 2002 22:43:57 -0000 1.1 +++ Src/Modules/datetime.c 4 Jul 2002 16:47:21 -0000 @@ -31,12 +31,10 @@ #include "datetime.pro" #include -static char datetime_nam[] = "datetime"; - static int bin_strftime(char *nam, char **argv, char *ops, int func) { - int ret = 0, bufsize, x; + int bufsize, x; char *endptr = NULL, *buffer = NULL; time_t secs; struct tm *t;