summaryrefslogtreecommitdiffstats
path: root/tools/delete_includes.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:33 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:33 +0000
commit9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9 (patch)
tree2784370cda9bbf2da9114d70f05399c0b229d28c /tools/delete_includes.py
parentAdding debian version 4.2.6-1. (diff)
downloadwireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.tar.xz
wireshark-9f153fbfec0fb9c9ce38e749a7c6f4a5e115d4e9.zip
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xtools/delete_includes.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/delete_includes.py b/tools/delete_includes.py
index cc804e0b..8ea5e806 100755
--- a/tools/delete_includes.py
+++ b/tools/delete_includes.py
@@ -18,7 +18,6 @@ import sys
import shutil
import argparse
import signal
-import re
from pathlib import Path
@@ -190,8 +189,6 @@ def test_file(filename):
# Don't want to delete 'self-includes', so prepare filename.
module_name = Path(filename).stem
- extension = Path(filename).suffix
-
module_header = module_name + '.h'
# Loop around, finding all possible include lines to comment out