mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
Fix possible undefined value in check-symsorting.pl
It is possible for $line to be undefined at first used, if the symfile doesn't have a section prefix (which is the case for auto-generated symfiles). Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
59750ed6ea
commit
8f7a1ac810
@ -11,7 +11,7 @@ my $lastgroup = undef;
|
||||
foreach my $symfile (@ARGV) {
|
||||
open SYMFILE, $symfile or die "cannot read $symfile: $!";
|
||||
|
||||
my $line;
|
||||
my $line = 0;
|
||||
my $groupfile = "";
|
||||
my @group;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user