From ff05f5a22e6cad889a94dab50a98feb29007e607 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Tue, 20 Oct 2015 10:48:24 -0700 Subject: libhb: Fix potentially uninitialized variable --- libhb/param.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libhb/param.c b/libhb/param.c index 723943ba8..851c5f300 100644 --- a/libhb/param.c +++ b/libhb/param.c @@ -363,6 +363,8 @@ static hb_filter_param_t* filter_param_get_tunes_internal(int filter_id, int *count) { int ii; + + *count = 0; for (ii = 0; param_map[ii].filter_id != HB_FILTER_INVALID; ii++) { if (param_map[ii].filter_id == filter_id) -- cgit v1.2.3