summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorMichael Paquier2024-07-03 03:43:57 +0000
committerMichael Paquier2024-07-03 03:43:57 +0000
commitdd569214aa7d057a9676c49ddbf2da74ad9924e3 (patch)
tree92e54f350f0cadc711c3fff10fbf7d297398e972 /src/tools
parentdec9d4acdb7d758c3cbe989ad80cf0367f4e166d (diff)
Clean up more unused variables in perl code
This is a continuation of 0c1aca461481, with some cleanup in: - msvc_gendef.pl - pgindent - 005_negotiate_encryption.pl, as of an oversight of d39a49c1e459 that has removed %params in test_matrix(), making also $server_config useless. Author: Dagfinn Ilmari Mannsåker Discussion: https://postgr.es/m/87wmm4dkci.fsf@wibble.ilmari.org
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/msvc_gendef.pl2
-rwxr-xr-xsrc/tools/pgindent/pgindent3
2 files changed, 1 insertions, 4 deletions
diff --git a/src/tools/msvc_gendef.pl b/src/tools/msvc_gendef.pl
index 404076dbbc3..97346cc8929 100644
--- a/src/tools/msvc_gendef.pl
+++ b/src/tools/msvc_gendef.pl
@@ -6,8 +6,6 @@ use warnings FATAL => 'all';
use List::Util qw(min);
use Getopt::Long;
-my @def;
-
#
# Script that generates a .DEF file for all objects in a directory
#
diff --git a/src/tools/pgindent/pgindent b/src/tools/pgindent/pgindent
index 48d83bc434f..77c8118e5d7 100755
--- a/src/tools/pgindent/pgindent
+++ b/src/tools/pgindent/pgindent
@@ -21,8 +21,7 @@ my $indent_opts =
my $devnull = File::Spec->devnull;
-my ($typedefs_file, $typedef_str, @excludes,
- $indent, $build, $diff,
+my ($typedefs_file, $typedef_str, @excludes, $indent, $diff,
$check, $help, @commits,);
$help = 0;