diff options
author | mat <mat@FreeBSD.org> | 2018-06-30 16:36:50 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2018-06-30 16:36:50 +0800 |
commit | 8defc69924ac6ba1bbcbb7085a96deeb569eff25 (patch) | |
tree | d13382aa228fffbfc6576979784a9eba34b720b8 /Mk | |
parent | b8bd6fc32a53e429b17edccf2e2547aac8d7c1ce (diff) | |
download | freebsd-ports-gnome-8defc69924ac6ba1bbcbb7085a96deeb569eff25.tar.gz freebsd-ports-gnome-8defc69924ac6ba1bbcbb7085a96deeb569eff25.tar.zst freebsd-ports-gnome-8defc69924ac6ba1bbcbb7085a96deeb569eff25.zip |
Remove dead code.
Sponsored by: Absolight
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Scripts/security-check.awk | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Mk/Scripts/security-check.awk b/Mk/Scripts/security-check.awk index 48746cdb6384..60c6ce791019 100644 --- a/Mk/Scripts/security-check.awk +++ b/Mk/Scripts/security-check.awk @@ -1,9 +1,5 @@ BEGIN { file = ""; - if (audit != "") - stupid_functions_regexp="^(gets|mktemp|tempnam|tmpnam|strcpy|strcat|sprintf)$"; - else - stupid_functions_regexp="^(gets|mktemp|tempnam|tmpnam)$"; split("", stupid_binaries); split("", network_binaries); split("", setuid_binaries); @@ -18,7 +14,6 @@ FILENAME ~ /\.flattened$/ { FILENAME ~ /\.objdump$/ { if (match($0, /: +file format [^ ]+$/)) { file = substr($0, 1, RSTART - 1); - stupid_functions = ""; next; } if (file == "") |