From 5c23f412299c8250ecad69ad23d625a6ba807841 Mon Sep 17 00:00:00 2001 From: eleksir Date: Sat, 4 Feb 2023 15:15:19 +0300 Subject: [PATCH] Remove unused variables --- bin/aleesa-webapp | 1 - lib/WebApp/Client.pm | 2 -- 2 files changed, 3 deletions(-) diff --git a/bin/aleesa-webapp b/bin/aleesa-webapp index 6058454..aadd64e 100755 --- a/bin/aleesa-webapp +++ b/bin/aleesa-webapp @@ -43,7 +43,6 @@ sub __fork; sub __signal_handler; local $OUTPUT_AUTOFLUSH = 1; -my $runAsUid = $UID; my $piddir = '/var/run/' . basename (abs_path $PROGRAM_NAME); my $C = LoadConf (); diff --git a/lib/WebApp/Client.pm b/lib/WebApp/Client.pm index 979ef4a..02df951 100644 --- a/lib/WebApp/Client.pm +++ b/lib/WebApp/Client.pm @@ -31,7 +31,6 @@ use version; our $VERSION = qw (1.0); use Exporter qw (import); our @EXPORT_OK = qw (Anek Buni Drink Monkeyuser Kitty Fox Oboobs Obutts Rabbit Owl Frog Horse Snail Xkcd Weather); -my @MONTH = qw (yanvar fevral mart aprel may iyun iyul avgust sentyabr oktyabr noyabr dekabr); my $c = LoadConf (); my $cachedir = $c->{cachedir}; @@ -621,7 +620,6 @@ sub __weather { my $city = shift; $city = urlencode $city; my $appid = $c->{openweathermap}->{appid}; - my $now = time (); my $fc; my $w;