Remove 'use diagnostics' calls to speed up scripts.

Bug #204463 r=justdave
This commit is contained in:
cls%seawood.org 2004-09-18 05:02:17 +00:00
parent 035652083f
commit f0886ed803
39 changed files with 0 additions and 39 deletions

View File

@ -21,7 +21,6 @@
# Contains some global routines used throughout the CGI scripts of Bugzilla. # Contains some global routines used throughout the CGI scripts of Bugzilla.
use diagnostics;
use strict; use strict;
use CGI::Carp qw(fatalsToBrowser); use CGI::Carp qw(fatalsToBrowser);

View File

@ -29,7 +29,6 @@
# ... # ...
# #
use diagnostics;
use strict; use strict;
use CGI; use CGI;

View File

@ -22,7 +22,6 @@
require 'CGI.pl'; require 'CGI.pl';
use diagnostics;
use strict; use strict;
sub StupidFuncToShutUpWarningsByUsingVarsAgain { sub StupidFuncToShutUpWarningsByUsingVarsAgain {

View File

@ -20,7 +20,6 @@
# Contributor(s): # Contributor(s):
use strict; use strict;
use diagnostics;
# Shut up misguided -w warnings about "used only once". "use vars" just # Shut up misguided -w warnings about "used only once". "use vars" just
# doesn't work for me. # doesn't work for me.

View File

@ -24,7 +24,6 @@ require 'globals.pl';
require 'adminfuncs.pl'; require 'adminfuncs.pl';
use strict; use strict;
use diagnostics;
sub GetDate { sub GetDate {

View File

@ -20,7 +20,6 @@
# #
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
require 'CGI.pl'; require 'CGI.pl';

View File

@ -39,7 +39,6 @@
# mark - highlight a line # mark - highlight a line
# #
use diagnostics;
use strict; use strict;
# Shut up misguided -w warnings about "used only once". "use vars" just # Shut up misguided -w warnings about "used only once". "use vars" just

View File

@ -31,7 +31,6 @@
# #
############################################################################## ##############################################################################
use diagnostics;
use strict; use strict;
# Shut up misguided -w warnings about "used only once". "use vars" just # Shut up misguided -w warnings about "used only once". "use vars" just

View File

@ -19,7 +19,6 @@
# #
# Contributor(s): Jacob Steenhagen <jake@acutex.net> # Contributor(s): Jacob Steenhagen <jake@acutex.net>
use diagnostics;
use strict; use strict;
use vars qw{ $revision_ctime $revision_author }; use vars qw{ $revision_ctime $revision_author };

View File

@ -20,7 +20,6 @@
# #
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
require 'CGI.pl'; require 'CGI.pl';

View File

@ -32,7 +32,6 @@
# author - filter based on author # author - filter based on author
# #
use diagnostics;
use strict; use strict;
# Shut up misguided -w warnings about "used only once". "use vars" just # Shut up misguided -w warnings about "used only once". "use vars" just

View File

@ -20,7 +20,6 @@
# #
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
# Shut up misguided -w warnings about "used only once". "use vars" just # Shut up misguided -w warnings about "used only once". "use vars" just

View File

@ -22,7 +22,6 @@
require 'globals.pl'; require 'globals.pl';
require 'get_line.pl'; require 'get_line.pl';
use diagnostics;
use strict; use strict;
# Shut up misguided -w warnings about "used only once". "use vars" just # Shut up misguided -w warnings about "used only once". "use vars" just

View File

@ -23,7 +23,6 @@
# Query the CVS database. # Query the CVS database.
# #
use diagnostics;
use strict; use strict;
require 'CGI.pl'; require 'CGI.pl';

View File

@ -39,7 +39,6 @@
# SRCROOTS is an array of repository roots under which to look for CVS files. # SRCROOTS is an array of repository roots under which to look for CVS files.
# #
use diagnostics;
use strict; use strict;
use CGI; use CGI;

View File

@ -23,7 +23,6 @@
# This file defines all the parameters that we have a GUI to edit within # This file defines all the parameters that we have a GUI to edit within
# Bonsai. # Bonsai.
use diagnostics;
use strict; use strict;

View File

@ -22,7 +22,6 @@
use strict; use strict;
use diagnostics;
require 'CGI.pl'; require 'CGI.pl';
require 'adminfuncs.pl'; require 'adminfuncs.pl';

View File

@ -20,7 +20,6 @@
# #
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
require 'CGI.pl'; require 'CGI.pl';

View File

@ -20,7 +20,6 @@
# #
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
# Shut up misguided -w warnings about "used only once". "use vars" just # Shut up misguided -w warnings about "used only once". "use vars" just

View File

@ -20,7 +20,6 @@
# #
# Contributor(s): Terry Weissman <terry@mozilla.org> # Contributor(s): Terry Weissman <terry@mozilla.org>
use diagnostics;
use strict; use strict;
require "CGI.pl"; require "CGI.pl";

View File

@ -20,7 +20,6 @@
# #
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
require 'CGI.pl'; require 'CGI.pl';

View File

@ -20,7 +20,6 @@
# #
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
# Shut up misguided -w warnings about "used only once". "use vars" just # Shut up misguided -w warnings about "used only once". "use vars" just

View File

@ -20,7 +20,6 @@
# #
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
# Shut up misguided -w warnings about "used only once". "use vars" just # Shut up misguided -w warnings about "used only once". "use vars" just

View File

@ -20,7 +20,6 @@
# #
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
# Shut up misguided -w warnings about "used only once". "use vars" just # Shut up misguided -w warnings about "used only once". "use vars" just

View File

@ -21,7 +21,6 @@
# Contributor(s): Terry Weissman <terry@mozilla.org> # Contributor(s): Terry Weissman <terry@mozilla.org>
use diagnostics;
use strict; use strict;
require "CGI.pl"; require "CGI.pl";

View File

@ -20,7 +20,6 @@
# #
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
# Shut up misguided -w warnings about "used only once". "use vars" just # Shut up misguided -w warnings about "used only once". "use vars" just

View File

@ -23,7 +23,6 @@
$::TreeID = "default"; $::TreeID = "default";
use diagnostics;
use strict; use strict;
use DBI; use DBI;
use File::Path; use File::Path;

View File

@ -19,7 +19,6 @@
# #
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
if( $ARGV[0] eq '' ){ if( $ARGV[0] eq '' ){

View File

@ -24,7 +24,6 @@
# Unroll a module # Unroll a module
# #
use diagnostics;
use strict; use strict;
# Shut up misguided -w warnings about "used only once". "use vars" just # Shut up misguided -w warnings about "used only once". "use vars" just

View File

@ -19,7 +19,6 @@
# #
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
require 'get_line.pl'; require 'get_line.pl';

View File

@ -25,7 +25,6 @@
# Multi file diff cgi # Multi file diff cgi
# #
use diagnostics;
use strict; use strict;
require 'CGI.pl'; require 'CGI.pl';

View File

@ -19,7 +19,6 @@
# #
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
# Shut up misguided -w warnings about "used only once". "use vars" just # Shut up misguided -w warnings about "used only once". "use vars" just

View File

@ -22,7 +22,6 @@
require 'CGI.pl'; require 'CGI.pl';
use diagnostics;
use strict; use strict;
print "Content-type: text/html print "Content-type: text/html

View File

@ -21,7 +21,6 @@
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
if( $ARGV[0] eq '' ){ if( $ARGV[0] eq '' ){

View File

@ -20,7 +20,6 @@
# #
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
require 'CGI.pl'; require 'CGI.pl';

View File

@ -20,7 +20,6 @@
# #
# Contributor(s): # Contributor(s):
use diagnostics;
use strict; use strict;
# Shut up misguided -w warnings about "used only once". "use vars" just # Shut up misguided -w warnings about "used only once". "use vars" just

View File

@ -22,7 +22,6 @@
require 'CGI.pl'; require 'CGI.pl';
use diagnostics;
use strict; use strict;
sub StupidFuncToShutUpWarningsByUsingVarsAgain { sub StupidFuncToShutUpWarningsByUsingVarsAgain {

View File

@ -22,7 +22,6 @@
require 'CGI.pl'; require 'CGI.pl';
use diagnostics;
use strict; use strict;
LoadCheckins(); LoadCheckins();

View File

@ -23,7 +23,6 @@
require 'lloydcgi.pl'; require 'lloydcgi.pl';
require 'utils.pl'; require 'utils.pl';
# use diagnostics;
# use strict; # use strict;
my $db = ConnectToDatabase(); my $db = ConnectToDatabase();