mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Dead assignment, found with clang.
This commit is contained in:
		@@ -44,12 +44,11 @@ int
 | 
			
		||||
cmd_paste_buffer_exec(struct cmd *self, struct cmd_ctx *ctx)
 | 
			
		||||
{
 | 
			
		||||
	struct cmd_buffer_data	*data = self->data;
 | 
			
		||||
	struct winlink		*wl;
 | 
			
		||||
	struct window_pane	*wp;
 | 
			
		||||
	struct session		*s;
 | 
			
		||||
	struct paste_buffer	*pb;
 | 
			
		||||
 | 
			
		||||
	if ((wl = cmd_find_pane(ctx, data->target, &s, &wp)) == NULL)
 | 
			
		||||
	if (cmd_find_pane(ctx, data->target, &s, &wp) == NULL)
 | 
			
		||||
		return (-1);
 | 
			
		||||
 | 
			
		||||
	if (data->buffer == -1)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user