From b209bfbdfe71f5152477c3a5c9d693c4142cf09d Mon Sep 17 00:00:00 2001 From: batrick Date: Tue, 5 Jul 2011 18:37:09 +0000 Subject: [PATCH] removed dead code --- nselib/creds.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/nselib/creds.lua b/nselib/creds.lua index db06fe73f..a710bac82 100644 --- a/nselib/creds.lua +++ b/nselib/creds.lua @@ -205,9 +205,6 @@ Credentials = { -- @return tbl table containing the discovered credentials getTable = function(self) local result = {} - local all = self.storage:getAll() - - if ( not(all) ) then return end for _, v in pairs(self.storage:getAll()) do local h = ( v.host.ip or v.host )