[Koha-patches] [PATCH 2/2] Bug 6237: remove compile time warning
Colin Campbell
colin.campbell at ptfs-europe.com
Thu Apr 21 17:13:47 CEST 2011
Remove a 'variable in void context' warning from
C4::Auth which shows up as a compile warning in all users of
the module and generates log noise
---
C4/Auth.pm | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/C4/Auth.pm b/C4/Auth.pm
index 33602b9..a31161e 100644
--- a/C4/Auth.pm
+++ b/C4/Auth.pm
@@ -55,7 +55,6 @@ BEGIN {
import C4::Auth_with_cas qw(checkpw_cas login_cas logout_cas login_cas_url);
}
$servers = C4::Context->config('memcached_servers');
- $memcached;
if ($servers) {
require Cache::Memcached;
$memcached = Cache::Memcached->new({
--
1.7.4.4
More information about the Koha-patches
mailing list