mirror of
https://codeberg.org/h3xx/simplify_static_dir
synced 2024-08-14 23:57:24 +00:00
Fix implicit return (PBP)
This commit is contained in:
parent
7dbbb5422a
commit
31fe372e09
9 changed files with 14 additions and 10 deletions
|
@ -19,6 +19,7 @@ sub run {
|
|||
my $self = shift;
|
||||
# preserve older time stamp
|
||||
utime $self->{source}->{atime}, $self->{source}->{mtime}, $self->{target}->{name};
|
||||
return;
|
||||
}
|
||||
|
||||
sub bytes_freed {
|
||||
|
|
|
@ -21,7 +21,7 @@ sub new {
|
|||
|
||||
sub as_string {
|
||||
my $self = shift;
|
||||
join "\n", $self->instructions;
|
||||
return join "\n", $self->instructions;
|
||||
}
|
||||
|
||||
sub buckets {
|
||||
|
@ -55,7 +55,7 @@ sub buckets {
|
|||
push @buckets, @these_buckets;
|
||||
}
|
||||
|
||||
@buckets
|
||||
return @buckets;
|
||||
}
|
||||
|
||||
sub _entry_should_be_skipped {
|
||||
|
@ -176,7 +176,7 @@ sub instructions {
|
|||
);
|
||||
}
|
||||
}
|
||||
@inst
|
||||
return @inst;
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
|
@ -31,6 +31,7 @@ sub run {
|
|||
if (--$self->{target}->{nlink} == 0) {
|
||||
$self->{freed} = $self->{target}->{size};
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
sub bytes_freed {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue