mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Fix uninitialized variabled in ConnectionEvent
This commit is contained in:
		@@ -865,7 +865,8 @@ struct ConnectionEvent
 | 
			
		||||
	bool timeout;
 | 
			
		||||
	Address address;
 | 
			
		||||
 | 
			
		||||
	ConnectionEvent(): type(CONNEVENT_NONE) {}
 | 
			
		||||
	ConnectionEvent(): type(CONNEVENT_NONE), peer_id(0),
 | 
			
		||||
			timeout(false) {}
 | 
			
		||||
 | 
			
		||||
	std::string describe()
 | 
			
		||||
	{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user