From defb4760c8c89f952282ff7c08271657fcab1165 Mon Sep 17 00:00:00 2001 From: Colin Campbell Date: Thu, 21 Apr 2011 16:09:58 +0100 Subject: [PATCH 2/2] Bug 6237: remove compile time warning Content-Type: text/plain; charset="utf-8" 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