From 133acb12c3aa7ba3f70d5bbbeaa2542fb21bf95c Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Fri, 3 May 2013 13:16:31 +0200 Subject: [PATCH] Remove unused parameters from e2tool.check_project_info() Reported by Thomas Brinker Signed-off-by: Tobias Ulmer --- local/e2tool.lua | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/local/e2tool.lua b/local/e2tool.lua index 764de1c..b083e80 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -1650,14 +1650,11 @@ local function check_licences(info) return true, nil end ---- e2tool.check_project_info(INFO, ALL, [ACCESS, [VERBOSE]]) -> BOOLEAN. --- --- Checks project information for consistancy --- When ALL is false, check only those results/sources reachable from --- the dependency list --- When ACCESS is true, checks also server locations --- When VERBOSE is true, sends error messages to stderr -function e2tool.check_project_info(info, all, access, verbose) +--- Checks project information for consistancy. +-- @param info Info table. +-- @return True on success, false on error. +-- @return Error object on failure. +function e2tool.check_project_info(info) local rc, re local e = err.new("error in project configuration") rc, re = check_chroot_config(info) -- 2.39.5