summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2007-12-04 18:12:20 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2007-12-04 18:12:20 +0000
commiteacac960898d3bcbf331fa35545c2856c2ef296f (patch)
tree5e9164a9fbf8437889446973d2678f6d6606a264 /src/app.c
parent75db4dc19ed9dad1aa16d74377a381ba855c2126 (diff)
Return FALSE for unknown pids again.
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app.c b/src/app.c
index 66f11b6..bf98d7a 100644
--- a/src/app.c
+++ b/src/app.c
@@ -1384,7 +1384,7 @@ _client_reset (Client *client, App *app)
_client_init (client, app);
}
-static gboolean
+static gboolean G_GNUC_UNUSED
lwp_discard (int fd)
{
guint count;
@@ -1490,7 +1490,7 @@ lwp_read (GIOChannel *io, App *app)
return FALSE;
if (app->client.pid && pid != app->client.pid)
- return lwp_discard (fd); /* XXX or return FALSE? */
+ return FALSE; /* XXX lwp_discard (fd); */
app->client.pid = pid;
app->client.type = LWP;