summaryrefslogtreecommitdiff
path: root/bin/find-unused-defines.awk
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-18 10:12:08 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-11-18 10:38:08 +0000
commit53f16c39f5c4c69ab603bf9098daec71f7a0acb8 (patch)
tree00b3166ecff36bb55dcf0b8c2122a08b72656ab5 /bin/find-unused-defines.awk
parent4c1f958634ae88614a794bf232c67e9e785bf703 (diff)
remove unused typedefs and inline use-once typedefs
and improve the script a little Change-Id: I2792ea4dd5df3a50736fbe209225c3f16fb86b84 Reviewed-on: https://gerrit.libreoffice.org/20033 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'bin/find-unused-defines.awk')
-rw-r--r--bin/find-unused-defines.awk1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/find-unused-defines.awk b/bin/find-unused-defines.awk
index 193986ea2466..fb3997ab4f54 100644
--- a/bin/find-unused-defines.awk
+++ b/bin/find-unused-defines.awk
@@ -14,7 +14,6 @@ END {
# | xargs -P 4 -Ixxx sh -c "git grep -w 'xxx' | awk '{ x++; y=\$0 } END { if (x==1) print y }' && echo \"xxx\" 1>&2"
-
# sed -i '' '/pattern/d'
# | awk 'arr[$0]++ END { for (i in arr) { if(arr[i]==1) print i } }' \
# | awk -f find-unused-defines.awk