about summary refs log tree commit diff
path: root/Src
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 /Src
parent603956acdcd61ce684237f9a1d538231967810b1 (diff)
downloadzsh-19424d40a89dbea41a6f9f693e8c15c38978e71a.tar.gz
zsh-19424d40a89dbea41a6f9f693e8c15c38978e71a.tar.xz
zsh-19424d40a89dbea41a6f9f693e8c15c38978e71a.zip
17417: remove unused fluff from datetime.c
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/datetime.c4
1 files changed, 1 insertions, 3 deletions
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;