mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Remove 'use diagnostics' calls to speed up scripts.
Bug #204463 r=justdave
This commit is contained in:
parent
035652083f
commit
f0886ed803
@ -21,7 +21,6 @@
|
||||
|
||||
# Contains some global routines used throughout the CGI scripts of Bugzilla.
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
use CGI::Carp qw(fatalsToBrowser);
|
||||
|
@ -29,7 +29,6 @@
|
||||
# ...
|
||||
#
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
use CGI;
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
require 'CGI.pl';
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
sub StupidFuncToShutUpWarningsByUsingVarsAgain {
|
||||
|
@ -20,7 +20,6 @@
|
||||
# Contributor(s):
|
||||
|
||||
use strict;
|
||||
use diagnostics;
|
||||
|
||||
# Shut up misguided -w warnings about "used only once". "use vars" just
|
||||
# doesn't work for me.
|
||||
|
@ -24,7 +24,6 @@ require 'globals.pl';
|
||||
require 'adminfuncs.pl';
|
||||
|
||||
use strict;
|
||||
use diagnostics;
|
||||
|
||||
|
||||
sub GetDate {
|
||||
|
@ -20,7 +20,6 @@
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
require 'CGI.pl';
|
||||
|
@ -39,7 +39,6 @@
|
||||
# mark - highlight a line
|
||||
#
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
# Shut up misguided -w warnings about "used only once". "use vars" just
|
||||
|
@ -31,7 +31,6 @@
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
# Shut up misguided -w warnings about "used only once". "use vars" just
|
||||
|
@ -19,7 +19,6 @@
|
||||
#
|
||||
# Contributor(s): Jacob Steenhagen <jake@acutex.net>
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
use vars qw{ $revision_ctime $revision_author };
|
||||
|
@ -20,7 +20,6 @@
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
require 'CGI.pl';
|
||||
|
@ -32,7 +32,6 @@
|
||||
# author - filter based on author
|
||||
#
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
# Shut up misguided -w warnings about "used only once". "use vars" just
|
||||
|
@ -20,7 +20,6 @@
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
# Shut up misguided -w warnings about "used only once". "use vars" just
|
||||
|
@ -22,7 +22,6 @@
|
||||
require 'globals.pl';
|
||||
require 'get_line.pl';
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
# Shut up misguided -w warnings about "used only once". "use vars" just
|
||||
|
@ -23,7 +23,6 @@
|
||||
# Query the CVS database.
|
||||
#
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
require 'CGI.pl';
|
||||
|
@ -39,7 +39,6 @@
|
||||
# SRCROOTS is an array of repository roots under which to look for CVS files.
|
||||
#
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
use CGI;
|
||||
|
@ -23,7 +23,6 @@
|
||||
# This file defines all the parameters that we have a GUI to edit within
|
||||
# Bonsai.
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
|
||||
use strict;
|
||||
use diagnostics;
|
||||
|
||||
require 'CGI.pl';
|
||||
require 'adminfuncs.pl';
|
||||
|
@ -20,7 +20,6 @@
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
require 'CGI.pl';
|
||||
|
@ -20,7 +20,6 @@
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
# Shut up misguided -w warnings about "used only once". "use vars" just
|
||||
|
@ -20,7 +20,6 @@
|
||||
#
|
||||
# Contributor(s): Terry Weissman <terry@mozilla.org>
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
require "CGI.pl";
|
||||
|
@ -20,7 +20,6 @@
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
require 'CGI.pl';
|
||||
|
@ -20,7 +20,6 @@
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
# Shut up misguided -w warnings about "used only once". "use vars" just
|
||||
|
@ -20,7 +20,6 @@
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
# Shut up misguided -w warnings about "used only once". "use vars" just
|
||||
|
@ -20,7 +20,6 @@
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
# Shut up misguided -w warnings about "used only once". "use vars" just
|
||||
|
@ -21,7 +21,6 @@
|
||||
# Contributor(s): Terry Weissman <terry@mozilla.org>
|
||||
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
require "CGI.pl";
|
||||
|
@ -20,7 +20,6 @@
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
# Shut up misguided -w warnings about "used only once". "use vars" just
|
||||
|
@ -23,7 +23,6 @@
|
||||
|
||||
$::TreeID = "default";
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
use DBI;
|
||||
use File::Path;
|
||||
|
@ -19,7 +19,6 @@
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
if( $ARGV[0] eq '' ){
|
||||
|
@ -24,7 +24,6 @@
|
||||
# Unroll a module
|
||||
#
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
# Shut up misguided -w warnings about "used only once". "use vars" just
|
||||
|
@ -19,7 +19,6 @@
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
require 'get_line.pl';
|
||||
|
@ -25,7 +25,6 @@
|
||||
# Multi file diff cgi
|
||||
#
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
require 'CGI.pl';
|
||||
|
@ -19,7 +19,6 @@
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
# Shut up misguided -w warnings about "used only once". "use vars" just
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
require 'CGI.pl';
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
print "Content-type: text/html
|
||||
|
@ -21,7 +21,6 @@
|
||||
# Contributor(s):
|
||||
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
if( $ARGV[0] eq '' ){
|
||||
|
@ -20,7 +20,6 @@
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
require 'CGI.pl';
|
||||
|
@ -20,7 +20,6 @@
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
# Shut up misguided -w warnings about "used only once". "use vars" just
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
require 'CGI.pl';
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
sub StupidFuncToShutUpWarningsByUsingVarsAgain {
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
require 'CGI.pl';
|
||||
|
||||
use diagnostics;
|
||||
use strict;
|
||||
|
||||
LoadCheckins();
|
||||
|
@ -23,7 +23,6 @@
|
||||
require 'lloydcgi.pl';
|
||||
require 'utils.pl';
|
||||
|
||||
# use diagnostics;
|
||||
# use strict;
|
||||
|
||||
my $db = ConnectToDatabase();
|
||||
|
Loading…
Reference in New Issue
Block a user