diff options
author | Michael Paquier <michael@paquier.xyz> | 2024-07-02 09:47:16 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2024-07-02 09:47:16 +0900 |
commit | 0c1aca461481216ff5a0e65538c4880bcf346433 (patch) | |
tree | 0e15b5a00a6052ccd3cdd142f0369b4de442c7d0 /src/backend | |
parent | 978f38c771fb3a19fdd5cb73cb662441eb9e551c (diff) | |
download | postgresql-0c1aca461481216ff5a0e65538c4880bcf346433.tar.gz postgresql-0c1aca461481216ff5a0e65538c4880bcf346433.zip |
Cleanup perl code from unused variables and routines
This commit removes unused variables and routines from some perl code
that have accumulated across the years. This touches the following
areas:
- Wait event generation script.
- AdjustUpgrade.pm.
- TAP perl code
Author: Alexander Lakhin
Reviewed-by: Dagfinn Ilmari Mannsåker
Discussion: https://postgr.es/m/70b340bc-244a-589d-ef8b-d8aebb707a84@gmail.com
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/utils/activity/generate-wait_event_types.pl | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/backend/utils/activity/generate-wait_event_types.pl b/src/backend/utils/activity/generate-wait_event_types.pl index 6a9c0a5d347..2f2fa5bb8f4 100644 --- a/src/backend/utils/activity/generate-wait_event_types.pl +++ b/src/backend/utils/activity/generate-wait_event_types.pl @@ -42,8 +42,6 @@ my @abi_compatibility_lines; my @lines; my $abi_compatibility = 0; my $section_name; -my $note; -my $note_name; # Remove comments and empty lines and add waitclassname based on the section while (<$wait_event_names>) |