about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/Modules/datetime.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 724ce7396..4ebc967ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-07-04  Clint Adams  <clint@zsh.org>
+
+	* 17417: Src/Modules/datetime.c: remove unused fluff.
+
 2002-07-04  Peter Stephenson  <pws@csr.com>
 
 	* 17410: Doc/Zsh/contrib.yo, Functions/Zle/narrow-to-region,
diff --git a/Src/Modules/datetime.c b/Src/Modules/datetime.c
index ff9158019..4c2bcf791 100644
--- a/Src/Modules/datetime.c
+++ b/Src/Modules/datetime.c
@@ -31,12 +31,10 @@
 #include "datetime.pro"
 #include <time.h>
 
-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;