eric pouech (@epo) commented about programs/timeout/main.c:
- int wait_time_valid = 0;
- int nobreak = 0;
- if (argc <= 1)
- {
timeout_error_wprintf(STRING_BAD_COMMAND_LINE);
return 2;
- }
- for (int i = 1; i < argc; i++)
- {
if (wcscmp(argv[i], L"/?") == 0)
{
timeout_message(STRING_USAGE);
ret = 0;
goto done;
you can simply return 0; and remove the label