summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-08-23 16:45:01 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-08-23 16:45:01 +0000
commit64dd9c8a82fcdea3d677666c748bfacd6b4f0121 (patch)
treeb93086630787fc652cf34fb31d5c5597da4525ed /usr.bin/tmux/tmux.h
parent879e729ce324cafbd3d3371341114eece6cbb6ad (diff)
The cursession member in struct cmd_ctx is always either curclient->session or
NULL when curclient is also NULL, so just eliminate it.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 15ce7681cb1..4532a2df7bd 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.87 2009/08/19 10:39:50 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.88 2009/08/23 16:45:00 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -988,8 +988,6 @@ struct cmd_ctx {
struct client *curclient;
struct client *cmdclient;
- struct session *cursession;
-
struct msg_command_data *msgdata;
void printflike2 (*print)(struct cmd_ctx *, const char *, ...);