summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-25 04:58:02 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-05-25 04:58:02 +0000
commit45c61f40b23b14e97428206e1b813eb813526e6f (patch)
treebbffa6043ed1e8b6a501d23c3b4874ae3390ddd8 /time.c
parent369fe1e8394b494c78d56aedfe6b0b809d7d1c10 (diff)
remove unused variables
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/time.c b/time.c
index 19ee71563e..6bd0443a86 100644
--- a/time.c
+++ b/time.c
@@ -688,7 +688,6 @@ time_to_a(time)
VALUE time;
{
struct time_object *tobj;
- VALUE ary;
GetTimeval(time, tobj);
if (tobj->tm_got == 0) {
@@ -750,7 +749,6 @@ time_strftime(time, format)
}
if (strlen(RSTRING(format)->ptr) < RSTRING(format)->len) {
/* Ruby string may contain \0's. */
- int l;
char *p = RSTRING(format)->ptr, *pe = p + RSTRING(format)->len;
str = str_new(0, 0);