mirror of https://github.com/omar-polo/gmid.git
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
This commit is contained in:
parent
3f16db6263
commit
2a822b03ba
2
logger.c
2
logger.c
|
@ -105,7 +105,7 @@ static int
|
||||||
logger_dispatch_server(int fd, struct privsep_proc *p, struct imsg *imsg)
|
logger_dispatch_server(int fd, struct privsep_proc *p, struct imsg *imsg)
|
||||||
{
|
{
|
||||||
char *msg;
|
char *msg;
|
||||||
size_t datalen;
|
size_t datalen = 0;
|
||||||
struct ibuf ibuf;
|
struct ibuf ibuf;
|
||||||
|
|
||||||
switch (imsg->hdr.type) {
|
switch (imsg->hdr.type) {
|
||||||
|
|
Loading…
Reference in New Issue