summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
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);