mirror of
https://github.com/sheumann/hush.git
synced 2024-08-21 11:28:57 +00:00
start_stop_daemon: mark argc as unused
This commit is contained in:
parent
a4e55ab840
commit
5a96c3eab6
@ -250,7 +250,7 @@ enum {
|
|||||||
};
|
};
|
||||||
|
|
||||||
int start_stop_daemon_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
int start_stop_daemon_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
|
||||||
int start_stop_daemon_main(int argc, char **argv)
|
int start_stop_daemon_main(int argc ATTRIBUTE_UNUSED, char **argv)
|
||||||
{
|
{
|
||||||
unsigned opt;
|
unsigned opt;
|
||||||
char *signame;
|
char *signame;
|
||||||
@ -292,7 +292,7 @@ int start_stop_daemon_main(int argc, char **argv)
|
|||||||
// if (retry_arg)
|
// if (retry_arg)
|
||||||
// retries = xatoi_u(retry_arg);
|
// retries = xatoi_u(retry_arg);
|
||||||
// )
|
// )
|
||||||
argc -= optind;
|
//argc -= optind;
|
||||||
argv += optind;
|
argv += optind;
|
||||||
|
|
||||||
if (userspec) {
|
if (userspec) {
|
||||||
|
Loading…
Reference in New Issue
Block a user