aboutsummaryrefslogtreecommitdiff
path: root/scripts/maint/check_config_macros.pl
diff options
context:
space:
mode:
authorskaluzka <skaluzka@protonmail.com>2021-09-07 23:44:44 +0200
committerskaluzka <skaluzka@protonmail.com>2021-09-07 23:44:44 +0200
commit82168e5e8bbd2600f99d37f85202c8126a959b24 (patch)
treeee0c0b2b1918a980b6391a7c06da45ef4891408e /scripts/maint/check_config_macros.pl
parent677b0c9f6d9d7793a6a2c961036017076fe2abf4 (diff)
downloadtor-82168e5e8bbd2600f99d37f85202c8126a959b24.tar.gz
tor-82168e5e8bbd2600f99d37f85202c8126a959b24.zip
Align and fix indentations in several maint scripts
Use 4 spaces indentations, convert tabs to spaces. No real code changes.
Diffstat (limited to 'scripts/maint/check_config_macros.pl')
-rwxr-xr-xscripts/maint/check_config_macros.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/maint/check_config_macros.pl b/scripts/maint/check_config_macros.pl
index bcde2beccc..1398b9984a 100755
--- a/scripts/maint/check_config_macros.pl
+++ b/scripts/maint/check_config_macros.pl
@@ -7,7 +7,7 @@ my @macros = ();
open(F, 'orconfig.h.in');
while(<F>) {
if (/^#undef +([A-Za-z0-9_]*)/) {
- push @macros, $1;
+ push @macros, $1;
}
}
close F;
@@ -15,6 +15,6 @@ close F;
for my $m (@macros) {
my $s = `git grep '$m' src`;
if ($s eq '') {
- print "Unused: $m\n";
+ print "Unused: $m\n";
}
}