mirror of
https://github.com/nmap/nmap.git
synced 2026-08-29 13:01:34 +00:00
Remove unnecessary conditional
This commit is contained in:
parent
472b586767
commit
df4896eadb
1 changed files with 1 additions and 3 deletions
|
|
@ -337,9 +337,7 @@ Helper = {
|
|||
|
||||
local printer = {}
|
||||
for k, v in pairs(attrib) do
|
||||
if ( ag:getAttributeValue(k) ) then
|
||||
printer[v] = ag:getAttributeValue(k)
|
||||
end
|
||||
printer[v] = ag:getAttributeValue(k)
|
||||
end
|
||||
table.insert(printers, printer)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue