Index | Thread | Search

From:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:
Re: imsg_close(): remove unused variable
To:
Theo Buehler <tb@theobuehler.org>
Cc:
tech@openbsd.org
Date:
Thu, 28 Nov 2024 21:51:38 +0100

Download raw body.

Thread
On Thu, Nov 28, 2024 at 12:01:23PM +0100, Theo Buehler wrote:
> The last commit left this behind.

OK claudio@
 
> Index: imsg.c
> ===================================================================
> RCS file: /cvs/src/lib/libutil/imsg.c,v
> diff -u -p -r1.37 imsg.c
> --- imsg.c	26 Nov 2024 13:57:31 -0000	1.37
> +++ imsg.c	28 Nov 2024 10:59:57 -0000
> @@ -334,7 +334,6 @@ imsg_add(struct ibuf *msg, const void *d
>  void
>  imsg_close(struct imsgbuf *imsgbuf, struct ibuf *msg)
>  {
> -	struct imsg_hdr	*hdr;
>  	uint32_t len;
>  
>  	len = ibuf_size(msg);
> 

-- 
:wq Claudio