Changeset 10619

Show
Ignore:
Timestamp:
02/08/10 03:23:15 (7 months ago)
Author:
azawawi
Message:

Fixed "Variable declared as conditional" PerlCritic? warning in Padre::Document

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Document.pm

    r10612 r10619  
    690690        #   The assumption of $self->project as defined will cause a fail 
    691691        #   Please be more careful mkkkay! 
    692  
    693         my $config = $self->project->config if $self->project; 
     692        my $config; 
     693        $config = $self->project->config if $self->project; 
    694694        $self->set_errstr(''); 
    695695