Permalink
Browse files

Remove dupe line

  • Loading branch information...
1 parent 605a12d commit 34405b9809b898d100cd701875ef3ef2ea26e94d @rtomayko committed Jun 23, 2007
Showing with 1 addition and 2 deletions.
  1. +1 −2 ext/date_performance.c
View
@@ -249,7 +249,7 @@ rb_date_strftime(int argc, VALUE * argv, VALUE self)
sprintf(pb, "%04d-%02d-%02d", ic[0], ic[1], ic[2]);
return buf;
}
-
+
/* Use libc's strftime but only for Date class */
if ( RBASIC(self)->klass == rb_cDate ){
VALUE buf = rb_str_buf_new(128);
@@ -370,7 +370,6 @@ Init_date_performance() {
id_numerator = rb_intern("numerator");
id_denominator = rb_intern("denominator");
id_strptime_without_performance = rb_intern("strptime_without_performance");
- id_strftime_without_performance = rb_intern("strftime_without_performance");
/* Rational Stuff */
rb_require("rational");

0 comments on commit 34405b9

Please sign in to comment.