mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Zap unused functions, prompted by deraadt.
This commit is contained in:
		@@ -187,20 +187,6 @@ key_bindings_init(void)
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void
 | 
			
		||||
key_bindings_free(void)
 | 
			
		||||
{
 | 
			
		||||
	struct key_binding	*bd;
 | 
			
		||||
 | 
			
		||||
	key_bindings_clean();
 | 
			
		||||
	while (!SPLAY_EMPTY(&key_bindings)) {
 | 
			
		||||
		bd = SPLAY_ROOT(&key_bindings);
 | 
			
		||||
		SPLAY_REMOVE(key_bindings, &key_bindings, bd);
 | 
			
		||||
		cmd_list_free(bd->cmdlist);
 | 
			
		||||
		xfree(bd);
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void printflike2
 | 
			
		||||
key_bindings_error(struct cmd_ctx *ctx, const char *fmt, ...)
 | 
			
		||||
{
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user