commit aa6c0b5105c8829f3ab30f081fa2d3d68ac674d1 from: Stefan Sperling date: Sun Sep 22 08:35:16 2019 UTC remove unused variable in got_privsep_recv_obj() (patch by Steven McDonald) commit - 5cade90168b43ba473102fcb27dd1fd4d85fcdc9 commit + aa6c0b5105c8829f3ab30f081fa2d3d68ac674d1 blob - f9961bfb6a787156474e30da32622cdb054366e6 blob + 62a79cfc9798d9720d38528272f0681cb10d18d6 --- lib/privsep.c +++ lib/privsep.c @@ -430,7 +430,6 @@ got_privsep_recv_obj(struct got_object **obj, struct i { const struct got_error *err = NULL; struct imsg imsg; - size_t datalen; const size_t min_datalen = MIN(sizeof(struct got_imsg_error), sizeof(struct got_imsg_object)); @@ -440,8 +439,6 @@ got_privsep_recv_obj(struct got_object **obj, struct i if (err) return err; - datalen = imsg.hdr.len - IMSG_HEADER_SIZE; - switch (imsg.hdr.type) { case GOT_IMSG_OBJECT: err = got_privsep_get_imsg_obj(obj, &imsg, ibuf);