summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2012-05-25 13:52:34 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2012-05-25 13:52:34 +0000
commitca852ec007e22402e4ee247574c405f90df49824 (patch)
treef4f5c91143b5741378255adab5d7fe90ca38e1ba /usr.sbin/smtpd
parent23fe5d88db0ed6d3d79a6984c094d9f55960d5d3 (diff)
remove unused variable
ok gilles@
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/ioev.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/ioev.c b/usr.sbin/smtpd/ioev.c
index a8b6c7de327..2e9521a06f2 100644
--- a/usr.sbin/smtpd/ioev.c
+++ b/usr.sbin/smtpd/ioev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ioev.c,v 1.2 2012/01/30 10:02:55 chl Exp $ */
+/* $OpenBSD: ioev.c,v 1.3 2012/05/25 13:52:33 chl Exp $ */
/*
* Copyright (c) 2012 Eric Faurot <eric@openbsd.org>
*
@@ -511,14 +511,11 @@ void
io_dispatch(int fd, short ev, void *humppa)
{
struct io *io = humppa;
- char buf[64];
size_t w;
ssize_t n;
io_frame_enter("io_dispatch", io, ev);
- buf[0] = 0;
-
if (ev == EV_TIMEOUT) {
io_callback(io, IO_TIMEOUT);
goto leave;