From: Roy Marples Date: Sat, 10 Oct 2020 13:46:25 +0000 (+0100) Subject: BSD doesn't use envp X-Git-Tag: v9.3.1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adb065189bbdfaa31f9ea9775e85686e520f42f4;p=thirdparty%2Fdhcpcd.git BSD doesn't use envp --- diff --git a/src/dhcpcd.c b/src/dhcpcd.c index 82559933..9b0a79a4 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -1789,6 +1789,8 @@ main(int argc, char **argv, char **envp) #ifdef SETPROCTITLE_H setproctitle_init(argc, argv, envp); +#else + UNUSED(envp); #endif /* Test for --help and --version */