plugin/grandtotal: Initialize variables

This commit is contained in:
polyfloyd 2019-01-16 21:08:49 +01:00
parent 3e49346bc5
commit 7387b874a7

View file

@ -7,8 +7,8 @@ sub command :Tab(grandtotal) {
return NEXT if $command ne 'grandtotal';
my $pos;
my $neg;
my $pos = 0;
my $neg = 0;
open my $fh, "<", "revbank.accounts";
while (defined(my $line = readline $fh)) {