From 4a04b498dbc460d69a0c98fd054cfaf2708e0996 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 23 Jul 2009 21:19:11 +0000 Subject: None of the server message functions return anything but 0, so make them all void. Also remove a leftover variable in client.c. --- client.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index 9bd731a8..57fe1d1d 100644 --- a/client.c +++ b/client.c @@ -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); -- cgit v1.2.3