Project

General

Profile

« Previous | Next » 

Revision c854fde3

Added by nobu (Nobuyoshi Nakada) almost 7 years ago

sprintf.c: remove redundant condition

  • sprintf.c (rb_str_format): when t + 1 == end (or t < end),
    *t == '%' is always true. [ruby-core:80153] [Bug #13315]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e