File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1274,7 +1274,7 @@ static VALUE
12741274strscan_scan_base10_integer (VALUE self )
12751275{
12761276 char * ptr ;
1277- long len = 0 ;
1277+ long len = 0 , remaining_len ;
12781278 struct strscanner * p ;
12791279
12801280 GET_SCANNER (self , p );
@@ -1284,7 +1284,7 @@ strscan_scan_base10_integer(VALUE self)
12841284
12851285 ptr = CURPTR (p );
12861286
1287- long remaining_len = S_RESTLEN (p );
1287+ remaining_len = S_RESTLEN (p );
12881288
12891289 if (remaining_len <= 0 ) {
12901290 return Qnil ;
@@ -1311,7 +1311,7 @@ static VALUE
13111311strscan_scan_base16_integer (VALUE self )
13121312{
13131313 char * ptr ;
1314- long len = 0 ;
1314+ long len = 0 , remaining_len ;
13151315 struct strscanner * p ;
13161316
13171317 GET_SCANNER (self , p );
@@ -1321,7 +1321,7 @@ strscan_scan_base16_integer(VALUE self)
13211321
13221322 ptr = CURPTR (p );
13231323
1324- long remaining_len = S_RESTLEN (p );
1324+ remaining_len = S_RESTLEN (p );
13251325
13261326 if (remaining_len <= 0 ) {
13271327 return Qnil ;
You can’t perform that action at this time.
0 commit comments