Skip to content

Commit

Permalink
Initialize total always
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdickmeiss committed Jan 27, 2025
1 parent d872be1 commit 38d1df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/marcdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ static long dump(const char *fname, const char *from, const char *to,
{
yaz_marc_t mt = yaz_marc_create();
yaz_iconv_t cd = 0;
long total;
long total = 0L;

if (yaz_marc_leader_spec(mt, leader_spec))
{
Expand Down

0 comments on commit 38d1df9

Please sign in to comment.