]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1081675 - remove unused variables. r=gerv, a=glob.
authorMatt Selsky <selsky@columbia.edu>
Wed, 29 Oct 2014 16:24:44 +0000 (16:24 +0000)
committerGervase Markham <gerv@gerv.net>
Wed, 29 Oct 2014 16:24:44 +0000 (16:24 +0000)
Bugzilla/DB.pm
Bugzilla/DB/Mysql.pm

index 87a1c9689c810d98c39c2432f3c2844bcc3c95b7..9f3ed0f494dca73c61321c5ef40db4c7f3a3ffc7 100644 (file)
@@ -115,7 +115,6 @@ sub connect_shadow {
 }
 
 sub connect_main {
-    my $lc = Bugzilla->localconfig;
     return _connect(Bugzilla->localconfig); 
 }
 
index 02cc8bc100ce16c814f5573fc4eedcd0d4101715..ae158e0f68148df02c1d43365846c47cdad99e8c 100644 (file)
@@ -294,7 +294,6 @@ sub _bz_get_initial_schema {
 sub bz_check_server_version {
     my $self = shift;
 
-    my $lc = Bugzilla->localconfig;
     if (lc(Bugzilla->localconfig->{db_name}) eq 'mysql') {
         die "It is not safe to run Bugzilla inside a database named 'mysql'.\n"
             . " Please pick a different value for \$db_name in localconfig.\n";