From be9e53f4be9f006cf467b094483c7f920facdb53 Mon Sep 17 00:00:00 2001 From: Damien Leone Date: Wed, 6 Aug 2008 15:37:36 +0200 Subject: [PATCH] beautiful: remove useless var and close file Signed-off-by: Julien Danjou --- lib/beautiful.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/beautiful.lua b/lib/beautiful.lua index ec3221b5..d016c0fd 100644 --- a/lib/beautiful.lua +++ b/lib/beautiful.lua @@ -25,7 +25,6 @@ local theme = {} -- @return nil if the '=' character is not in the string -- if the string begins with '#' which is a comment local function split_line(line) - local values = {} local split_val = line:find('=') if split_val and line:sub(1, 1) ~= '#' and line:sub(1, 2) ~= '--' then @@ -69,6 +68,7 @@ function init(path) theme[key] = value end end + f:close() end end