aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2020-04-14 16:55:34 -0400
committerAndrew Dunstan <andrew@dunslane.net>2020-04-14 16:55:34 -0400
commit0516f94d18c57cc5dce72ff8fb84a05d24a67063 (patch)
tree37273429b34aade525bb9dba80d90fc2f11038e0 /src
parente60c6f6ea17b50833242653fe2781f6d47429540 (diff)
downloadpostgresql-0516f94d18c57cc5dce72ff8fb84a05d24a67063.tar.gz
postgresql-0516f94d18c57cc5dce72ff8fb84a05d24a67063.zip
Stop requiring an explicit return from perl subroutines
The consensus of the project appears to be that this provides little benefit and is simply an annoyance. Discussion: https://postgr.es/m/27481.1586618092@sss.pgh.pa.us
Diffstat (limited to 'src')
-rw-r--r--src/tools/perlcheck/perlcriticrc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/tools/perlcheck/perlcriticrc b/src/tools/perlcheck/perlcriticrc
index 314c83c6a59..e230111b232 100644
--- a/src/tools/perlcheck/perlcriticrc
+++ b/src/tools/perlcheck/perlcriticrc
@@ -22,7 +22,3 @@ verbose = %f: %m at line %l, column %c. %e. ([%p] Severity: %s)\n
# insist on use of the warnings pragma
[TestingAndDebugging::RequireUseWarnings]
severity = 5
-
-# for now raise severity of this to level 5
-[Subroutines::RequireFinalReturn]
-severity = 5