Bug 6237: remove compile time warning
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 21 Apr 2011 15:13:47 +0000 (16:13 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Thu, 21 Apr 2011 19:30:55 +0000 (07:30 +1200)
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

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Auth.pm

index 33602b9..a31161e 100644 (file)
@@ -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({