Skip to content

Commit

Permalink
test: init err to zero (fixes cppcheck warning)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredh committed Jan 15, 2025
1 parent ed0abc4 commit d1f86a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/vidconv.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ int test_vidconv_pixel_formats(void)

static int test_vidconv_center(void)
{
int err;
int err = 0;
struct vidframe *dst = NULL;
struct vidframe *src = NULL;

Expand Down

0 comments on commit d1f86a5

Please sign in to comment.