commit 2a822b03ba21a85012e996136836519dd79c2aa6 from: Omar Polo date: Sun Jan 21 12:53:01 2024 UTC please macos for some reason that's not entirely clear to me, __dead doesn't seem to work on macos, so clang thinks datalen is used un-initialized. meh commit - 3f16db6263fe5bab588bd1b7347f5d2ddc7d6059 commit + 2a822b03ba21a85012e996136836519dd79c2aa6 blob - 97adec686fa81ab468a6f1a025586c9226009d95 blob + 1398686ae7373fc7b841108deaf5078f6806b5f6 --- logger.c +++ logger.c @@ -105,7 +105,7 @@ static int logger_dispatch_server(int fd, struct privsep_proc *p, struct imsg *imsg) { char *msg; - size_t datalen; + size_t datalen = 0; struct ibuf ibuf; switch (imsg->hdr.type) {