From: martijn Date: Tue, 20 Feb 2024 12:51:10 +0000 (+0000) Subject: Remove some now unused variables. Somehow missed in previous commit. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=5556c6a83211db11082a6959ba09fd95c58f5f6b;p=openbsd Remove some now unused variables. Somehow missed in previous commit. --- diff --git a/usr.sbin/snmpd/ax.c b/usr.sbin/snmpd/ax.c index f9bf6951847..cf5c00e0d3f 100644 --- a/usr.sbin/snmpd/ax.c +++ b/usr.sbin/snmpd/ax.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ax.c,v 1.5 2024/02/20 12:25:43 martijn Exp $ */ +/* $OpenBSD: ax.c,v 1.6 2024/02/20 12:51:10 martijn Exp $ */ /* * Copyright (c) 2019 Martijn van Duren * @@ -101,11 +101,10 @@ ax_recv(struct ax *ax) struct ax_pdu_searchrangelist *srl = NULL; struct ax_pdu_varbindlist *vbl; struct ax_searchrange *sr; - size_t rbsize, packetidx = 0, i, rawlen; + size_t rbsize, rawlen; ssize_t nread; uint8_t *u8; uint8_t *rbuf; - int found; /* Only read a single packet at a time to make sure libevent triggers */ if (ax->ax_rblen < AX_PDU_HEADER) {