diff options
| author | Clint Adams <clint@users.sourceforge.net> | 2002-07-04 17:03:18 +0000 |
|---|---|---|
| committer | Clint Adams <clint@users.sourceforge.net> | 2002-07-04 17:03:18 +0000 |
| commit | 19424d40a89dbea41a6f9f693e8c15c38978e71a (patch) | |
| tree | 1f82bb9d2b33e1a133aa1f31fae38eb044806fc1 | |
| parent | 17410: narrow-to-region widgets (diff) | |
| download | zsh-19424d40a89dbea41a6f9f693e8c15c38978e71a.tar zsh-19424d40a89dbea41a6f9f693e8c15c38978e71a.tar.gz zsh-19424d40a89dbea41a6f9f693e8c15c38978e71a.tar.bz2 zsh-19424d40a89dbea41a6f9f693e8c15c38978e71a.tar.lz zsh-19424d40a89dbea41a6f9f693e8c15c38978e71a.tar.xz zsh-19424d40a89dbea41a6f9f693e8c15c38978e71a.tar.zst zsh-19424d40a89dbea41a6f9f693e8c15c38978e71a.zip | |
17417: remove unused fluff from datetime.c
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | Src/Modules/datetime.c | 4 |
2 files changed, 5 insertions, 3 deletions
@@ -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; |
