← Commit list

5a96c3eab

Denis Vlasenko
Denis Vlasenko
2008-04-19
FAILED Duration: 18s

Subject

start_stop_daemon: mark argc as unused

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

debianutils/start_stop_daemon.c+2 -2
@@ -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)
+int start_stop_daemon_main(int argc ATTRIBUTE_UNUSED, char **argv)
{
unsigned opt;
char *signame;
@@ -292,7 +292,7 @@ int start_stop_daemon_main(int argc, char **argv)
// if (retry_arg)
// retries = xatoi_u(retry_arg);
// )
- argc -= optind;
+ //argc -= optind;
argv += optind;
if (userspec) {