diff options
author | 2009-07-23 21:19:11 +0000 | |
---|---|---|
committer | 2009-07-23 21:19:11 +0000 | |
commit | 51e43aa6d5158a70ae4be2ec2f5608299adc7951 (patch) | |
tree | 147b032cb2e6db2c2b0173d815ace0802682a2a2 /usr.bin/tmux/client.c | |
parent | timeout_add -> timeout_add_msec (diff) | |
download | wireguard-openbsd-51e43aa6d5158a70ae4be2ec2f5608299adc7951.tar.xz wireguard-openbsd-51e43aa6d5158a70ae4be2ec2f5608299adc7951.zip |
None of the server message functions return anything but 0, so make them all
void.
Also remove a leftover variable in client.c.
Diffstat (limited to 'usr.bin/tmux/client.c')
-rw-r--r-- | usr.bin/tmux/client.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/client.c b/usr.bin/tmux/client.c index 2e97430f3eb..fe68e24fc3d 100644 --- a/usr.bin/tmux/client.c +++ b/usr.bin/tmux/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.5 2009/07/23 20:24:27 nicm Exp $ */ +/* $OpenBSD: client.c,v 1.6 2009/07/23 21:19:11 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -134,14 +134,12 @@ int client_main(struct client_ctx *cctx) { struct pollfd pfd; - char *error; int xtimeout; /* Yay for ncurses namespace! */ siginit(); logfile("client"); - error = NULL; while (!sigterm) { if (sigchld) { waitpid(WAIT_ANY, NULL, WNOHANG); |