diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-08-14 08:11:00 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-08-14 08:11:00 +0000 |
commit | d1ad7910dbffb61b3e857c6684027c2f48cb809b (patch) | |
tree | e845b13bf92e41147a892336be5308ab78246289 /string.c | |
parent | b68534bf4eee4593362f8abdd823a09df5d1976b (diff) |
* string.c (rb_str_cmp): remove needless conditional.
* array.c (rb_inspecting_p): initialize inspect_key if it is
not initialized yet.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r-- | string.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -557,7 +557,6 @@ rb_str_cmp(str1, str2) if (RSTRING(str1)->len > RSTRING(str2)->len) return 1; return -1; } - if (retval == 0) return 0; if (retval > 0) return 1; return -1; } |