summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2015-01-02 11:21:32 +0100
committerYorhel <git@yorhel.nl>2015-01-02 11:21:32 +0100
commite875b3b1602393efc80267651fc5bf2b819e2085 (patch)
tree91239c481492fe61a8219789381ffa65dfdc6eea
parentdf8e9f2354f6f321975020728f5b664b92b2142b (diff)
staff: Fix warning of comparison against undef
-rw-r--r--lib/VNDB/Handler/Staff.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Staff.pm b/lib/VNDB/Handler/Staff.pm
index 38b280c8..4e319b3f 100644
--- a/lib/VNDB/Handler/Staff.pm
+++ b/lib/VNDB/Handler/Staff.pm
@@ -112,7 +112,7 @@ sub page {
end;
end;
tbody;
- my ($last_vid, $row_count);
+ my($last_vid, $row_count) = (0);
for my $i (0..$#{$s->{roles}}) {
my $r = $s->{roles}->[$i];
if($r->{vid} != $last_vid) {