mirror of
				https://github.com/libssh2/libssh2.git
				synced 2025-11-03 22:13:11 +03:00 
			
		
		
		
	Nix unused variable
This commit is contained in:
		@@ -863,7 +863,6 @@ int libssh2_packet_write(LIBSSH2_SESSION *session, unsigned char *data, unsigned
 | 
				
			|||||||
	unsigned long padding_length;
 | 
						unsigned long padding_length;
 | 
				
			||||||
	int free_data = 0;
 | 
						int free_data = 0;
 | 
				
			||||||
	unsigned char buf[246]; /* 6 byte header plus max padding size(240) */
 | 
						unsigned char buf[246]; /* 6 byte header plus max padding size(240) */
 | 
				
			||||||
	int i;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if ((session->state & LIBSSH2_STATE_NEWKEYS) &&
 | 
						if ((session->state & LIBSSH2_STATE_NEWKEYS) &&
 | 
				
			||||||
		strcmp(session->local.comp->name, "none")) {
 | 
							strcmp(session->local.comp->name, "none")) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user