Commit Diff


commit - d1b988e317a93820f57ce18e68035a6799e20583
commit + 9296b03b686828afd019e202e6d6b31d392d66b2
blob - 252ff6e95ea6fe84cfb2ec64b137fd51623eac9c
blob + d9b70a8544e6700c3455c2a149e2b4e4c9f356ab
--- lib/privsep.c
+++ lib/privsep.c
@@ -1186,7 +1186,6 @@ const struct got_error *
 got_privsep_get_imsg_obj(struct got_object **obj, struct imsg *imsg,
     struct imsgbuf *ibuf)
 {
-	const struct got_error *err = NULL;
 	struct got_imsg_object *iobj;
 	size_t datalen = imsg->hdr.len - IMSG_HEADER_SIZE;
 
@@ -1209,7 +1208,7 @@ got_privsep_get_imsg_obj(struct got_object **obj, stru
 		(*obj)->pack_idx = iobj->pack_idx;
 	}
 	STAILQ_INIT(&(*obj)->deltas.entries);
-	return err;
+	return NULL;
 }
 
 const struct got_error *