From 11c62fb80bd9bda1fe7ba52f20aec90e809aa7bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Jaenisch?= Date: Tue, 18 Jun 2024 18:19:23 +0200 Subject: [PATCH] fix: drop unused variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let's make Luacheck happy! Signed-off-by: André Jaenisch --- weather-widget/weather.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/weather-widget/weather.lua b/weather-widget/weather.lua index 24288e4..eb7a7cc 100644 --- a/weather-widget/weather.lua +++ b/weather-widget/weather.lua @@ -171,10 +171,7 @@ local function worker(user_args) local api_key = args.api_key local font_name = args.font_name or beautiful.font:gsub("%s%d+$", "") local units = args.units or 'metric' - local time_format_12h = args.time_format_12h local both_units_widget = args.both_units_widget or false - local show_hourly_forecast = args.show_hourly_forecast - local show_daily_forecast = args.show_daily_forecast local icon_pack_name = args.icons or 'weather-underground-icons' local icons_extension = args.icons_extension or '.png' local timeout = args.timeout or 120