Ignore:
Timestamp:
02/08/10 03:12:21 (2 years ago)
Author:
azawawi
Message:

Fixed "Variable declared as conditional" PerlCritic? warning in Main (caused by r10606). The variable was not being used anyways.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Wx/Main.pm

    r10615 r10617  
    23952395                # The other part of this fix is in lib/Padre/Document/Perl.pm in get_command 
    23962396                # Please feel free to fix this 
    2397                 my $pushd = File::pushd::pushd( $document->project_dir ) if -e $document->project_dir; 
     2397                File::pushd::pushd( $document->project_dir ) if -e $document->project_dir; 
    23982398                $self->run_command($cmd); 
    23992399            } 
     
    24092409                SCOPE: { 
    24102410                    require File::pushd; 
    2411                     my $pushd = File::pushd::pushd( $document->project_dir ) if -e $document->project_dir; 
     2411                    File::pushd::pushd( $document->project_dir ) if -e $document->project_dir; 
    24122412                    $self->run_command($cmd); 
    24132413                } 
Note: See TracChangeset for help on using the changeset viewer.