mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	io.c: initialize variable
* io.c (rb_io_each_codepoint): fix use of uninitialized variable. [Bug #11444] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									3816f7574f
								
							
						
					
					
						commit
						0bf7726507
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		
							
								
								
									
										1
									
								
								io.c
									
										
									
									
									
								
							
							
						
						
									
										1
									
								
								io.c
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -3709,6 +3709,7 @@ rb_io_each_codepoint(VALUE io)
 | 
			
		|||
    READ_CHECK(fptr);
 | 
			
		||||
    if (NEED_READCONV(fptr)) {
 | 
			
		||||
	SET_BINARY_MODE(fptr);
 | 
			
		||||
	r = 1;		/* no invalid char yet */
 | 
			
		||||
	for (;;) {
 | 
			
		||||
	    make_readconv(fptr, 0);
 | 
			
		||||
	    for (;;) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue