diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-22 13:31:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-07-23 08:41:46 +0200 |
commit | 95aad95fbec35c3aab777b176218a29821f79574 (patch) | |
tree | 860e5fc0890830b27c391b4492d6b91631ef9850 /bin | |
parent | e412e16d56caf426bac04c7e5966e2a9efa7c408 (diff) |
inline a handful of use-once #defines
Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
Diffstat (limited to 'bin')
-rw-r--r-- | bin/find-unused-defines.awk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/find-unused-defines.awk b/bin/find-unused-defines.awk index 2649e41d0534..c5c52963975b 100644 --- a/bin/find-unused-defines.awk +++ b/bin/find-unused-defines.awk @@ -4,7 +4,7 @@ } END { - tmp = substr(y, 0, index(y, ":")) + tmp = substr(y, 0, index(y, ":")-1) if (x==1) print "sed -i '/[[:space:]]" p1 "[[:space:]]/d' " tmp } |