]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
BSD doesn't use envp
authorRoy Marples <roy@marples.name>
Sat, 10 Oct 2020 13:46:25 +0000 (14:46 +0100)
committerRoy Marples <roy@marples.name>
Sat, 10 Oct 2020 13:46:25 +0000 (14:46 +0100)
src/dhcpcd.c

index 82559933b75eae79e69f8d351a410c4fe45c3a42..9b0a79a45cc4360b4d663b8e38f1543b7466bd48 100644 (file)
@@ -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 */