From 651445f74f006ef14c0b7a745ea884867eca25fd Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Thu, 30 Jul 2009 15:34:25 -0700 Subject: Fix uninitialized variable. --- scripts/vyatta-banner.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3