mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	Fix more warnings (#260).
This commit is contained in:
		
							parent
							
								
									ee0d603a81
								
							
						
					
					
						commit
						6dd36b8289
					
				
					 3 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -60,7 +60,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
 | 
			
		|||
        )
 | 
			
		||||
    endif()
 | 
			
		||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
 | 
			
		||||
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -undefined dynamic_lookup")
 | 
			
		||||
    # TODO: Clang-specific flags 
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
# Compiler flags customization (by system)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -158,8 +158,8 @@ void I2PControlService::SendResponse(std::shared_ptr<boost::asio::ip::tcp::socke
 | 
			
		|||
    );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void I2PControlService::HandleResponseSent(const boost::system::error_code& ecode, std::size_t bytes_transferred,
 | 
			
		||||
    std::shared_ptr<boost::asio::ip::tcp::socket> socket, std::shared_ptr<I2PControlBuffer> buf)
 | 
			
		||||
void I2PControlService::HandleResponseSent(const boost::system::error_code& ecode, std::size_t,
 | 
			
		||||
    std::shared_ptr<boost::asio::ip::tcp::socket> socket, std::shared_ptr<I2PControlBuffer>)
 | 
			
		||||
{
 | 
			
		||||
    if(ecode)
 | 
			
		||||
        LogPrint(eLogError, "I2PControl write error: ", ecode.message());
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -40,13 +40,13 @@ private:
 | 
			
		|||
 | 
			
		||||
private:
 | 
			
		||||
 | 
			
		||||
    std::shared_ptr<I2PControlSession> m_Session;
 | 
			
		||||
 | 
			
		||||
    bool m_IsRunning;
 | 
			
		||||
    std::thread * m_Thread; 
 | 
			
		||||
 | 
			
		||||
    boost::asio::io_service m_Service;
 | 
			
		||||
    boost::asio::ip::tcp::acceptor m_Acceptor;
 | 
			
		||||
 | 
			
		||||
    std::shared_ptr<I2PControlSession> m_Session;
 | 
			
		||||
    
 | 
			
		||||
};
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue