mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Remove dead code, from Sean Estabrooks.
This commit is contained in:
		@@ -106,11 +106,9 @@ cmd_if_shell_free(void *data)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	struct cmd_if_shell_data	*cdata = data;
 | 
						struct cmd_if_shell_data	*cdata = data;
 | 
				
			||||||
	struct cmd_ctx			*ctx = &cdata->ctx;
 | 
						struct cmd_ctx			*ctx = &cdata->ctx;
 | 
				
			||||||
	struct msg_exit_data		 exitdata;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (ctx->cmdclient != NULL) {
 | 
						if (ctx->cmdclient != NULL) {
 | 
				
			||||||
		ctx->cmdclient->references--;
 | 
							ctx->cmdclient->references--;
 | 
				
			||||||
		exitdata.retcode = ctx->cmdclient->retcode;
 | 
					 | 
				
			||||||
		ctx->cmdclient->flags |= CLIENT_EXIT;
 | 
							ctx->cmdclient->flags |= CLIENT_EXIT;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	if (ctx->curclient != NULL)
 | 
						if (ctx->curclient != NULL)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user