summaryrefslogtreecommitdiff
path: root/bin/find-unused-defines.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/find-unused-defines.py')
-rwxr-xr-xbin/find-unused-defines.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/find-unused-defines.py b/bin/find-unused-defines.py
index 7f5f27cb6bc7..2c08cc6cd342 100755
--- a/bin/find-unused-defines.py
+++ b/bin/find-unused-defines.py
@@ -97,6 +97,7 @@ def in_exclusion_set( a ):
return True;
return False;
+# find defines, excluding the externals folder
a = subprocess.Popen("git grep -hP '^#define\s+\w+\s+' -- \"[!e][!x][!t]*\" | sort -u", stdout=subprocess.PIPE, shell=True)
with a.stdout as txt: