summaryrefslogtreecommitdiffstats
path: root/serverloop.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-05-16 12:32:29 +0200
committerDarren Tucker <dtucker@zip.com.au>2013-05-16 12:32:29 +0200
commitdbee308253931f8c1aeebf781d7e7730ff6a0dc1 (patch)
treea0b6552908f7b44431bcd70668eda863eaf97be2 /serverloop.c
parent - jmc@cvs.openbsd.org 2013/05/16 06:30:06 (diff)
downloadopenssh-dbee308253931f8c1aeebf781d7e7730ff6a0dc1.tar.xz
openssh-dbee308253931f8c1aeebf781d7e7730ff6a0dc1.zip
- dtucker@cvs.openbsd.org 2013/05/16 09:08:41
[log.c scp.c sshd.c serverloop.c schnorr.c sftp.c] Fix some "unused result" warnings found via clang and -portable. ok markus@
Diffstat (limited to 'serverloop.c')
-rw-r--r--serverloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/serverloop.c b/serverloop.c
index 595899f61..a61d4ad32 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: serverloop.c,v 1.165 2013/05/16 04:09:14 dtucker Exp $ */
+/* $OpenBSD: serverloop.c,v 1.166 2013/05/16 09:08:41 dtucker Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -148,7 +148,7 @@ static void
notify_parent(void)
{
if (notify_pipe[1] != -1)
- write(notify_pipe[1], "", 1);
+ (void)write(notify_pipe[1], "", 1);
}
static void
notify_prepare(fd_set *readset)