diff options
author | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-20 13:49:27 +0000 |
---|---|---|
committer | tadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-03-20 13:49:27 +0000 |
commit | 7adef00759f3815cfe2509b5dac74e525079a145 (patch) | |
tree | 195ae7be12754b4bdc845dbe58b97d879491f296 /ext/date/date_core.c | |
parent | e48047fe0cedc0fa859f7940ab504c34dc4ea6d5 (diff) | |
download | ruby-7adef00759f3815cfe2509b5dac74e525079a145.tar.gz |
* ext/date/date_strftime.c: removed unused code and arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/date/date_core.c')
-rw-r--r-- | ext/date/date_core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c index d65f8f73d7..d726487396 100644 --- a/ext/date/date_core.c +++ b/ext/date/date_core.c @@ -2337,7 +2337,7 @@ d_lite_inspect(VALUE self) size_t date_strftime(char *s, size_t maxsize, const char *format, - const struct vtm *vtm, VALUE timev, int gmt); + const struct vtm *vtm, VALUE timev); #define SMALLBUF 100 static size_t @@ -2352,12 +2352,12 @@ date_strftime_alloc(char **buf, const char *format, return 0; } errno = 0; - len = date_strftime(*buf, SMALLBUF, format, vtm, timev, 0); + len = date_strftime(*buf, SMALLBUF, format, vtm, timev); if (len != 0 || (**buf == '\0' && errno != ERANGE)) return len; for (size=1024; ; size*=2) { *buf = xmalloc(size); (*buf)[0] = '\0'; - len = date_strftime(*buf, size, format, vtm, timev, 0); + len = date_strftime(*buf, size, format, vtm, timev); /* * buflen can be zero EITHER because there's not enough * room in the string, or because the control command |