Silence "uninitialized" warnings
This commit is contained in:
		
							parent
							
								
									fa911b8018
								
							
						
					
					
						commit
						7b65977eb9
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -195,7 +195,7 @@ defineClass(mrb_state *mrb, const char *name)
 | 
			
		|||
	MRB_METHOD(Klass##Get##PropName) \
 | 
			
		||||
	{ \
 | 
			
		||||
		Klass *k = getPrivateData<Klass>(mrb, self); \
 | 
			
		||||
		mrb_type value; \
 | 
			
		||||
		mrb_type value = 0; \
 | 
			
		||||
		GUARD_EXC( value = k->get##PropName(); ) \
 | 
			
		||||
		return mrb_##conv_t##_value(value); \
 | 
			
		||||
	} \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue