2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +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);
}
}
argc -= optind;
argv += optind;
if (argc)
/* There should be no other command line arguments. */
if (argc - optind != 0)
usage(1);
sudo_setpwent();