diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2009-07-30 15:34:25 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2009-07-30 16:20:18 -0700 |
commit | 651445f74f006ef14c0b7a745ea884867eca25fd (patch) | |
tree | 56d20c3f359c0db8da782a3b391557d0002d0f62 | |
parent | 0b56645ee73609a5e46b29b4352d5d9d444da20a (diff) | |
download | vyatta-cfg-quagga-651445f74f006ef14c0b7a745ea884867eca25fd.tar.gz vyatta-cfg-quagga-651445f74f006ef14c0b7a745ea884867eca25fd.zip |
Fix uninitialized variable.
-rw-r--r-- | scripts/vyatta-banner.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-banner.pl b/scripts/vyatta-banner.pl index 7ae35edf..9f7c5ddb 100644 --- a/scripts/vyatta-banner.pl +++ b/scripts/vyatta-banner.pl @@ -61,7 +61,7 @@ sub is_same_as_file { return if ! -e $file; - my $mem_file; + my $mem_file = ' '; open my $MF, '+<', \$mem_file or die "couldn't open memfile $!\n"; print $MF $value; seek($MF, 0, 0); |