Skip to content

Commit

Permalink
[#662 state:resolved] Initialized $rpt_count with zero to silence war…
Browse files Browse the repository at this point in the history
…ning.
  • Loading branch information
tima authored and jayallen committed Dec 10, 2010
1 parent e4ea4cd commit 774e689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/run-periodic-tasks
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ require MT;
my $mt = MT->new() or die MT->errstr;
if ( defined( MT->config('RPTProcessCap') ) && $proc_process_table ) {
my $t = new Proc::ProcessTable;
my $rpt_count;
my $rpt_count = 0;
foreach my $p ( @{ $t->table } ) {
my $cmd = $p->cmndline;
if ( $cmd =~ /^perl/ && $cmd =~ /run-periodic-tasks/ ) {
Expand Down

0 comments on commit 774e689

Please sign in to comment.