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

regcomp.c: Fix compile error with old version of fcc on Solaris

* regcomp.c (get_min_match_length): Fix compile error with old version
  of fcc (Fujitsu C Compiler) on Solaris 10. [Bug #13059][ruby-dev:49909]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ngoto 2016-12-21 15:21:19 +00:00
parent edaf4500f8
commit 9022401809

View file

@ -2233,7 +2233,7 @@ get_min_match_length(Node* node, OnigDistance *min, ScanEnv* env)
*min = en->min_len;
else {
if (IS_ENCLOSE_MARK1(NENCLOSE(node)))
*min = 0; // recursive
*min = 0; /* recursive */
else {
SET_ENCLOSE_STATUS(node, NST_MARK1);
r = get_min_match_length(en->target, min, env);