mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/iconv/iconv.c (iconv_iconv): no needs to initialize with Qnil
before rb_scan_args call. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f1296598a2
commit
8471463a4a
2 changed files with 3 additions and 4 deletions
|
@ -828,7 +828,6 @@ iconv_iconv(int argc, VALUE *argv, VALUE self)
|
|||
VALUE cd = check_iconv(self);
|
||||
long start = 0, length = 0, slen = 0;
|
||||
|
||||
n1 = n2 = Qnil;
|
||||
rb_scan_args(argc, argv, "12", &str, &n1, &n2);
|
||||
if (!NIL_P(str)) {
|
||||
VALUE n = rb_str_length(StringValue(str));
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.9.0"
|
||||
#define RUBY_RELEASE_DATE "2008-06-05"
|
||||
#define RUBY_RELEASE_DATE "2008-06-06"
|
||||
#define RUBY_VERSION_CODE 190
|
||||
#define RUBY_RELEASE_CODE 20080605
|
||||
#define RUBY_RELEASE_CODE 20080606
|
||||
#define RUBY_PATCHLEVEL 0
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 0
|
||||
#define RUBY_RELEASE_YEAR 2008
|
||||
#define RUBY_RELEASE_MONTH 6
|
||||
#define RUBY_RELEASE_DAY 5
|
||||
#define RUBY_RELEASE_DAY 6
|
||||
|
||||
#ifdef RUBY_EXTERN
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
|
|
Loading…
Add table
Reference in a new issue