diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2012-12-18 15:57:17 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2012-12-18 15:57:17 +0000 |
commit | 9d21c64e7be5cd409c7619d183c27be26f00a74b (patch) | |
tree | 631a4bc3d38e4f7b757b77054f5cdf3fb7475b2e | |
parent | 61d198bdd53c24ae22a901c4d26471af17c47de1 (diff) |
remove unused variable
-rw-r--r-- | usr.sbin/relayd/config.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/relayd/config.c b/usr.sbin/relayd/config.c index 0fc003779f4..73e6b856a05 100644 --- a/usr.sbin/relayd/config.c +++ b/usr.sbin/relayd/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.7 2012/11/27 05:00:28 guenther Exp $ */ +/* $OpenBSD: config.c,v 1.8 2012/12/18 15:57:16 reyk Exp $ */ /* * Copyright (c) 2011 Reyk Floeter <reyk@openbsd.org> @@ -953,11 +953,9 @@ config_getrelaytable(struct relayd *env, struct imsg *imsg) struct relay *rlay; struct table *table; u_int8_t *p = imsg->data; - size_t s; IMSG_SIZE_CHECK(imsg, &crt); memcpy(&crt, p, sizeof(crt)); - s = sizeof(crt); if ((rlay = relay_find(env, crt.relayid)) == NULL) { log_debug("%s: unknown relay", __func__); |