2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

Avoid compiler casting warnings by assigning to the same type where possible

This saves instructions that are related to casting as well as compiler warnings.
This commit is contained in:
Rose
2023-05-18 14:38:18 -04:00
parent a0b074cc9c
commit e54ba33ea0
50 changed files with 175 additions and 168 deletions

View File

@@ -1514,14 +1514,14 @@ print_usage(FILE *fp)
"[-P padding] [-s sections] [input_file]\n", getprogname());
}
static void
sudo_noreturn static void
usage(void)
{
print_usage(stderr);
exit(EXIT_FAILURE);
}
static void
sudo_noreturn static void
help(void)
{
(void) printf(_("%s - convert between sudoers file formats\n\n"), getprogname());