From f4cac8107fcce26e45f373cfd940ec8014ebe7ac Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Fri, 3 May 2013 13:17:59 +0200 Subject: [PATCH] Remove unused function check_workingcopies() Reported by Thomas Brinker Signed-off-by: Tobias Ulmer --- local/e2tool.lua | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/local/e2tool.lua b/local/e2tool.lua index b083e80..c8dece7 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -2361,22 +2361,6 @@ local function add_source_results(info, source_set) end end ---- check working copies. -local function check_workingcopies(info) - local e = err.new("Error while checking working copies") - local rc, re - for n,s in pairs(info.sources) do - rc, re = scm.check_workingcopy(info, n) - if not rc then - return false, e:cat(re) - end - end - if e:getcount() > 1 then - return false, e - end - return true, nil -end - --- select the result and apply build options -- @param info -- @param r string: the result name -- 2.39.5