drop unused variable
diff --git a/lib/privsep.c b/lib/privsep.c
index 438b7c7..21a5f45 100644
--- a/lib/privsep.c
+++ b/lib/privsep.c
@@ -2109,11 +2109,10 @@ got_privsep_recv_gitconfig_str(char **str, struct imsgbuf *ibuf)
const struct got_error *err = NULL;
struct imsg imsg;
size_t datalen;
- const size_t min_datalen = 0;
*str = NULL;
- err = got_privsep_recv_imsg(&imsg, ibuf, min_datalen);
+ err = got_privsep_recv_imsg(&imsg, ibuf, 0);
if (err)
return err;
datalen = imsg.hdr.len - IMSG_HEADER_SIZE;
@@ -2355,11 +2354,10 @@ got_privsep_recv_gotconfig_str(char **str, struct imsgbuf *ibuf)
const struct got_error *err = NULL;
struct imsg imsg;
size_t datalen;
- const size_t min_datalen = 0;
*str = NULL;
- err = got_privsep_recv_imsg(&imsg, ibuf, min_datalen);
+ err = got_privsep_recv_imsg(&imsg, ibuf, 0);
if (err)
return err;
datalen = imsg.hdr.len - IMSG_HEADER_SIZE;