diff options
author | John Stebbins <[email protected]> | 2015-10-20 10:48:24 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2015-10-20 10:48:24 -0700 |
commit | ff05f5a22e6cad889a94dab50a98feb29007e607 (patch) | |
tree | faf52e1d78052b4fee59966d3f403387448b1fee | |
parent | 7f50c27989a63e87d2f17c6495d29e136ccfd837 (diff) |
libhb: Fix potentially uninitialized variable
-rw-r--r-- | libhb/param.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |