comparison svr-main.c @ 1873:2c9d635a1c04

Avoid unused argument warning when reexec is unused
author Matt Johnston <matt@ucc.asn.au>
date Thu, 03 Feb 2022 22:12:11 +0800
parents 0dcc5b0d93fa
children
comparison
equal deleted inserted replaced
1872:6b25cdad4783 1873:2c9d635a1c04
141 int childsock; 141 int childsock;
142 int childpipe[2]; 142 int childpipe[2];
143 143
144 (void)argc; 144 (void)argc;
145 (void)argv; 145 (void)argv;
146 (void)multipath;
146 147
147 /* Note: commonsetup() must happen before we daemon()ise. Otherwise 148 /* Note: commonsetup() must happen before we daemon()ise. Otherwise
148 daemon() will chdir("/"), and we won't be able to find local-dir 149 daemon() will chdir("/"), and we won't be able to find local-dir
149 hostkeys. */ 150 hostkeys. */
150 commonsetup(); 151 commonsetup();