1 warning: o_max could be used unintializied
3 diff --git a/src/modules/module-combine-sink.c b/src/modules/module-combine-sink.c
4 index 2ccd9eb..11a260b 100644
5 --- a/src/modules/module-combine-sink.c
6 +++ b/src/modules/module-combine-sink.c
7 @@ -257,7 +257,7 @@ static void adjust_rates(struct userdata *u) {
11 - struct output *o_max;
12 + struct output *o_max = NULL;
15 pa_sink_assert_ref(u->sink);
16 @@ -334,7 +334,7 @@ static void adjust_rates(struct userdata *u) {
17 /* The target selection ensures, that at least one of the
18 * sinks will use the base rate and all other sinks are set
20 - if (max_sink_latency > min_total_latency)
21 + if ((o_max != NULL) && (max_sink_latency > min_total_latency))
22 target_latency = o_max->total_latency;
24 target_latency = min_total_latency;