mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Some unnecessary assignments and unused variables.
This commit is contained in:
		@@ -606,10 +606,9 @@ have_event:
 | 
			
		||||
			wp = window_get_active_at(s->curw->window, px, py);
 | 
			
		||||
			if (wp != NULL)
 | 
			
		||||
				where = PANE;
 | 
			
		||||
			else
 | 
			
		||||
				return (KEYC_UNKNOWN);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (where == NOWHERE)
 | 
			
		||||
			return (KEYC_UNKNOWN);
 | 
			
		||||
		if (where == PANE)
 | 
			
		||||
			log_debug("mouse %u,%u on pane %%%u", x, y, wp->id);
 | 
			
		||||
		else if (where == BORDER)
 | 
			
		||||
@@ -1543,7 +1542,7 @@ server_client_reset_state(struct client *c)
 | 
			
		||||
	struct window_pane	*wp = w->active, *loop;
 | 
			
		||||
	struct screen		*s;
 | 
			
		||||
	struct options		*oo = c->session->options;
 | 
			
		||||
	int			 mode, cursor = 0;
 | 
			
		||||
	int			 mode, cursor;
 | 
			
		||||
	u_int			 cx = 0, cy = 0, ox, oy, sx, sy;
 | 
			
		||||
 | 
			
		||||
	if (c->flags & (CLIENT_CONTROL|CLIENT_SUSPENDED))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user