Fix warning about cbox

This commit is contained in:
Jamie Cameron
2020-10-11 20:05:23 -07:00
parent 9e6502e473
commit 473ae9cf4a

View File

@@ -120,7 +120,7 @@ foreach my $d (&list_diffs($act)) {
($rb) = grep { $_->{'file'} eq $d->{'object'} } @files;
}
my $cbox = @files ?
&ui_checkbox("r", $d->{'object'}, "", $rb, undef, !$rb) : undef;
&ui_checkbox("r", $d->{'object'}, "", $rb, undef, !$rb) : "";
$rbcount++ if ($rb);
my $open = !$in{'file'} || $d->{'object'} eq $in{'file'};
if ($t =~ /\$2/ || !$d->{'diff'}) {