1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* transcode.c (transcode_restartable0): in_pos and out_pos never be

NULL, now.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-10-16 16:26:53 +00:00
parent 978f8ca10a
commit c2b9d34f62
2 changed files with 5 additions and 13 deletions

View file

@ -1,3 +1,8 @@
Fri Oct 17 01:26:09 2008 Tanaka Akira <akr@fsij.org>
* transcode.c (transcode_restartable0): in_pos and out_pos never be
NULL, now.
Fri Oct 17 00:39:19 2008 Yusuke Endoh <mame@tsg.ne.jp>
* lib/test/unit.rb: sort the order of executing tests.

View file

@ -437,19 +437,6 @@ transcode_restartable0(const unsigned char **in_pos, unsigned char **out_pos,
unsigned char *out_p;
unsigned char empty_buf;
unsigned char *empty_ptr = &empty_buf;
if (!in_pos) {
in_pos = (const unsigned char **)&empty_ptr;
in_stop = empty_ptr;
}
if (!out_pos) {
out_pos = &empty_ptr;
out_stop = empty_ptr;
}
in_p = inchar_start = *in_pos;
out_p = *out_pos;