2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

Don't enable mod_remove_empty_return

We like to use an empty return for stub functions.
This commit is contained in:
Todd C. Miller 2020-12-18 09:01:53 -07:00
parent 4949fd2913
commit 4c00a4e5b7
2 changed files with 1 additions and 5 deletions

View File

@ -325,10 +325,6 @@ mod_remove_extra_semicolon = true # true/false
# braces if there are no variable declarations in the block. # braces if there are no variable declarations in the block.
mod_case_brace = remove # ignore/add/remove/force mod_case_brace = remove # ignore/add/remove/force
# Whether to remove a void 'return;' that appears as the last statement in a
# function.
mod_remove_empty_return = true # true/false
# Add or remove the comma after the last value of an enumeration. # Add or remove the comma after the last value of an enumeration.
mod_enum_last_comma = remove # ignore/add/remove/force mod_enum_last_comma = remove # ignore/add/remove/force

View File

@ -2837,7 +2837,7 @@ mod_case_brace = remove # ignore/add/remove/force
# Whether to remove a void 'return;' that appears as the last statement in a # Whether to remove a void 'return;' that appears as the last statement in a
# function. # function.
mod_remove_empty_return = true # true/false mod_remove_empty_return = false # true/false
# Add or remove the comma after the last value of an enumeration. # Add or remove the comma after the last value of an enumeration.
mod_enum_last_comma = remove # ignore/add/remove/force mod_enum_last_comma = remove # ignore/add/remove/force