summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2002-07-04 17:03:18 +0000
committerClint Adams <clint@users.sourceforge.net>2002-07-04 17:03:18 +0000
commit19424d40a89dbea41a6f9f693e8c15c38978e71a (patch)
tree1f82bb9d2b33e1a133aa1f31fae38eb044806fc1
parent603956acdcd61ce684237f9a1d538231967810b1 (diff)
downloadzsh-19424d40a89dbea41a6f9f693e8c15c38978e71a.tar.gz
zsh-19424d40a89dbea41a6f9f693e8c15c38978e71a.tar.xz
zsh-19424d40a89dbea41a6f9f693e8c15c38978e71a.zip
17417: remove unused fluff from datetime.c
-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;