From d1f86a57af3bea1b35c9d9e434a3d9c0acc97d22 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" <114750+alfredh@users.noreply.github.com> Date: Wed, 15 Jan 2025 12:31:27 +0100 Subject: [PATCH] test: init err to zero (fixes cppcheck warning) --- test/vidconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/vidconv.c b/test/vidconv.c index 18302ba08..2437dc6b4 100644 --- a/test/vidconv.c +++ b/test/vidconv.c @@ -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;