From: Matthew Fernandez Date: Sun, 13 Nov 2022 23:05:49 +0000 (-0800) Subject: smyrna: fix 'path' compilation error on macOS X-Git-Tag: 7.0.2~4^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=69732da019b906551399748c2ff8a4308a29fdf4;p=graphviz smyrna: fix 'path' compilation error on macOS 24bd92c1e5d49b354141cd06d88ca658991b9825 managed to commit code to Smyrna on which the macOS branch of the logic does not compile. It seems this went unnoticed because the macOS CI jobs do not build Smyrna. --- diff --git a/cmd/smyrna/main.c b/cmd/smyrna/main.c index b89a5ba6a..61223a93b 100644 --- a/cmd/smyrna/main.c +++ b/cmd/smyrna/main.c @@ -212,7 +212,7 @@ static char *find_me(void) { assert(rc != 0); assert(buf_size > 0); - path = gv_alloc(buf_size); + char *path = gv_alloc(buf_size); // retrieve the actual path if (_NSGetExecutablePath(path, &buf_size) < 0) {