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:
@@ -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());
|
||||
|
Reference in New Issue
Block a user