aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian2014-12-05 19:57:27 +0000
committerWynn Wolf Arbor2020-05-24 12:33:55 +0200
commitb0a8623bd5c0dc3527fbc1d75c593732ced97ad1 (patch)
tree67ed65067b90af5f85f059c22e776f0798d33d42
parent2cfafbf2f2bd01fe9c0960b853d1ebc11bddafd7 (diff)
downloadslowcgi-b0a8623bd5c0dc3527fbc1d75c593732ced97ad1.tar.gz
mode is unused; pointed out by gcc; no binary change
-rw-r--r--slowcgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/slowcgi.c b/slowcgi.c
index b6f8cbf..cfcc007 100644
--- a/slowcgi.c
+++ b/slowcgi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: slowcgi.c,v 1.36 2014/12/05 19:56:24 florian Exp $ */
+/* $OpenBSD: slowcgi.c,v 1.37 2014/12/05 19:57:27 florian Exp $ */
/*
* Copyright (c) 2013 David Gwynne <dlg@openbsd.org>
* Copyright (c) 2013 Florian Obser <florian@openbsd.org>
@@ -355,7 +355,7 @@ slowcgi_listen(char *path, struct passwd *pw)
struct listener *l = NULL;
struct sockaddr_un sun;
size_t len;
- mode_t old_umask, mode;
+ mode_t old_umask;
int fd;
if ((fd = socket(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK | SOCK_CLOEXEC,