2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-02 07:15:27 +00:00

Quiet a clang-analyzer dead store warning.

This commit is contained in:
Todd C. Miller
2012-03-26 11:03:23 -04:00
parent d9e5ea4814
commit 238186abc9

View File

@@ -207,9 +207,8 @@ main(int argc, char *argv[])
usage(1); usage(1);
} }
} }
argc -= optind; /* There should be no other command line arguments. */
argv += optind; if (argc - optind != 0)
if (argc)
usage(1); usage(1);
sudo_setpwent(); sudo_setpwent();